pub trait ReadableWithSize {
    fn read_from_with_count(
        reader: &mut impl Reader,
        num_bytes: usize
    ) -> Result<Self, ReadError>
   where
        Self: Sized
; }
Expand description

Reads a type from a specific number of bytes.

Required Methods

Reads Self from a Reader using the given number of bytes.

Implementors