pub trait ReadConstant<const LENGTH: usize>: Sized {
    fn read_constant_bytes_with_callback<F, R: Read>(
        reader: &mut R,
        callback: F
    ) -> Result<Self>
    where
        F: Fn(&mut [u8])
; fn read_constant_bytes<R: Read>(reader: &mut R) -> Result<Self> { ... } }
Expand description

This trait is to read a constant-length array.

Required Methods

Provided Methods

Implementations on Foreign Types

Implementors