Type Alias VecU16OfPayloadU16

Source
pub type VecU16OfPayloadU16 = Vec<PayloadU16>;

Aliased Type§

struct VecU16OfPayloadU16 { /* private fields */ }

Trait Implementations§

Source§

impl Codec for VecU16OfPayloadU16

Source§

fn encode(&self, bytes: &mut Vec<u8>)

Encode yourself by appending onto bytes.
Source§

fn read(r: &mut Reader<'_>) -> Option<VecU16OfPayloadU16>

Decode yourself by fiddling with the Reader. Return Some if it worked, None if not.
Source§

fn get_encoding(&self) -> Vec<u8>

Convenience function to get the results of encode().
Source§

fn read_bytes(bytes: &[u8]) -> Option<Self>

Read one of these from the front of bytes and return it.