Expand description
Type alias for heapless::Vec
Trait Implementations
sourceimpl<const N: usize> Buffer for ArrayBuf<N>
impl<const N: usize> Buffer for ArrayBuf<N>
sourcefn push(&mut self, b: u8) -> Result<(), OutOfMemory>
fn push(&mut self, b: u8) -> Result<(), OutOfMemory>
Appends a byte to the back of the vector. Read more
sourcefn truncate(&mut self, len: usize)
fn truncate(&mut self, len: usize)
Shortens the vector, keeping the first len elements and dropping the rest.
sourcefn extend_from_slice(&mut self, other: &[u8]) -> Result<(), OutOfMemory>
fn extend_from_slice(&mut self, other: &[u8]) -> Result<(), OutOfMemory>
Clones and appends all bytes in a slice to the vector. Read more