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

Method encode

lrwn/src/applayer/multicastsetup/v2.rs:181–183  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

179 })
180 }
181 fn encode(&self) -> Result<Vec<u8>> {
182 Ok(vec![self.package_identifier, self.package_version])
183 }
184}
185
186#[derive(Debug, PartialEq)]

Callers 1

to_vecMethod · 0.45

Calls 4

encode_freqFunction · 0.85
iterMethod · 0.80
pushMethod · 0.80
to_le_bytesMethod · 0.45

Tested by

no test coverage detected