pub trait DeserializerExt: Deserializer {
    // Provided method
    fn read_n_const<const N: usize>(&mut self) -> Result<[u8; N], &[u8]> { ... }
}
Expand description

Extension trait for Deserializers.

Provided Methods§

source

fn read_n_const<const N: usize>(&mut self) -> Result<[u8; N], &[u8]>

Try to read exactly N bytes.

Implementors§