Trait typed_io::ReadVariable
source · [−]pub trait ReadVariable: Sized {
fn read_variable_bytes_with_callback<F, R: Read>(
reader: &mut R,
callback: F,
length: usize
) -> Result<Self>
where
F: Fn(&mut [u8]);
fn read_variable_bytes<R: Read>(
reader: &mut R,
length: usize
) -> Result<Self> { ... }
}
Expand description
This trait is to read a variable-length array.