pub struct InBuffer<'a> {
pub src: &'a [u8],
pub pos: usize,
}Expand description
Wrapper around an input buffer.
Bytes will be read starting at src[pos].
pos will be updated after reading.
Fields§
§src: &'a [u8]§pos: usizepub struct InBuffer<'a> {
pub src: &'a [u8],
pub pos: usize,
}Wrapper around an input buffer.
Bytes will be read starting at src[pos].
pos will be updated after reading.
src: &'a [u8]§pos: usize