pub trait ReadSlice {
// Required method
fn read_slice(&mut self, n: usize) -> Result<&[u8], ReadSliceError>;
}
Expand description
Type which supports reading a slice of bytes.
pub trait ReadSlice {
// Required method
fn read_slice(&mut self, n: usize) -> Result<&[u8], ReadSliceError>;
}
Type which supports reading a slice of bytes.