pub fn read_u8(stream: &mut dyn Read) -> Result<u8, StatusCode>
Read an unsigned byte from the stream