Searched refs:peek_u8 (Results 1 – 3 of 3) sorted by relevance
147 pub fn peek_u8(&mut self) -> Result<u8> { in peek_u8() method178 let first = self.peek_u8()?; in get_varint()336 pub fn peek_u8(&mut self) -> Result<u8> { in peek_u8() method397 let first = self.peek_u8()?; in get_varint()757 assert_eq!(b.peek_u8().unwrap(), 1); in peek_u()761 assert_eq!(b.peek_u8().unwrap(), 1); in peek_u()767 assert!(b.peek_u8().is_err()); in peek_u()778 assert_eq!(b.peek_u8().unwrap(), 1); in peek_u_mut()782 assert_eq!(b.peek_u8().unwrap(), 1); in peek_u_mut()788 assert!(b.peek_u8().is_err()); in peek_u_mut()
160 while b.peek_u8() == Ok(0x00) { in from_bytes()
105 let first = b.peek_u8()?; in decode()258 let first = b.peek_u8()?; in decode_str()