Type Alias VecU16OfPayloadU8

Source
pub type VecU16OfPayloadU8 = Vec<PayloadU8>;

Aliased Type§

struct VecU16OfPayloadU8 { /* private fields */ }

Trait Implementations§

Source§

impl Codec for VecU16OfPayloadU8

Source§

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

Encode yourself by appending onto bytes.
Source§

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

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.