HeaplessEncoder

Type Alias HeaplessEncoder 

Source
pub type HeaplessEncoder<'a, 'b, const MAX_FRAGMENT_LEN: usize, const MAX_SEQUENCE_COUNT: usize> = BaseEncoder<'a, 'b, Heapless<MAX_FRAGMENT_LEN, MAX_SEQUENCE_COUNT>>;
Expand description

An static encoder.

Does not allocate memory.

Aliased Type§

pub struct HeaplessEncoder<'a, 'b, const MAX_FRAGMENT_LEN: usize, const MAX_SEQUENCE_COUNT: usize> { /* private fields */ }

Implementations§

Source§

impl<'a, 'b, const MAX_FRAGMENT_LEN: usize, const MAX_SEQUENCE_COUNT: usize> HeaplessEncoder<'a, 'b, MAX_FRAGMENT_LEN, MAX_SEQUENCE_COUNT>

Source

pub const fn new() -> Self

Construct a new HeaplessEncoder.