Trait cornflakes::ReadableWithSize
source · [−]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.