pub fn read_u8(cursor: &mut Cursor<&[u8]>) -> Result<u8>