MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / size

Method size

lrwn/src/maccommand.rs:414–417  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

412 }
413
414 pub fn size(&self) -> Result<usize> {
415 let b = self.to_vec()?;
416 Ok(b.len())
417 }
418
419 pub fn from_slice(b: &[u8]) -> Self {
420 // For LoRaWAN 1.1, this payload must be first decrypted before it can be parsed.

Callers 3

set_phy_payloadsMethod · 0.45
log_downlink_metaMethod · 0.45
log_uplink_metaMethod · 0.45

Calls 1

to_vecMethod · 0.45

Tested by

no test coverage detected