HeaplessDecoder

Type Alias HeaplessDecoder 

Source
pub type HeaplessDecoder<const MAX_MESSAGE_LEN: usize, const MAX_MIXED_PARTS: usize, const MAX_FRAGMENT_LEN: usize, const MAX_SEQUENCE_COUNT: usize, const QUEUE_SIZE: usize, const MAX_UR_TYPE: usize> = BaseDecoder<Heapless<MAX_MESSAGE_LEN, MAX_MIXED_PARTS, MAX_FRAGMENT_LEN, MAX_SEQUENCE_COUNT, QUEUE_SIZE, MAX_UR_TYPE>>;
Expand description

A static decoder.

Does not allocate memory.

Aliased Type§

pub struct HeaplessDecoder<const MAX_MESSAGE_LEN: usize, const MAX_MIXED_PARTS: usize, const MAX_FRAGMENT_LEN: usize, const MAX_SEQUENCE_COUNT: usize, const QUEUE_SIZE: usize, const MAX_UR_TYPE: usize> { /* private fields */ }

Implementations§

Source§

impl<const MAX_MESSAGE_LEN: usize, const MAX_MIXED_PARTS: usize, const MAX_FRAGMENT_LEN: usize, const MAX_SEQUENCE_COUNT: usize, const QUEUE_SIZE: usize, const MAX_UR_TYPE: usize> HeaplessDecoder<MAX_MESSAGE_LEN, MAX_MIXED_PARTS, MAX_FRAGMENT_LEN, MAX_SEQUENCE_COUNT, QUEUE_SIZE, MAX_UR_TYPE>

Source

pub const fn new() -> Self

Construct a new HeaplessDecoder.