Function parse_u8

Source
pub fn parse_u8<T: AsRef<[u8]>>(stream: &T, pos: &mut usize) -> u8
Expand description

Get a u8 from a bytestream and advance a position marker

ยงArguments

  • bs : Serialized data, stream of bytes
  • pos : Position marker - start postion of the deserialization