Lines Matching defs:Octets
125 pub struct Octets<'a> { struct
130 impl<'a> Octets<'a> { impl
206 pub fn get_bytes(&mut self, len: usize) -> Result<Octets> { in get_bytes()
223 pub fn get_bytes_with_u8_length(&mut self) -> Result<Octets> { in get_bytes_with_u8_length()
231 pub fn get_bytes_with_u16_length(&mut self) -> Result<Octets> { in get_bytes_with_u16_length()
239 pub fn get_bytes_with_varint_length(&mut self) -> Result<Octets> { in get_bytes_with_varint_length()
246 pub fn peek_bytes(&self, len: usize) -> Result<Octets> { in peek_bytes()
304 impl<'a> AsRef<[u8]> for Octets<'a> { implementation
467 pub fn get_bytes(&mut self, len: usize) -> Result<Octets> { in get_bytes()
501 pub fn get_bytes_with_u8_length(&mut self) -> Result<Octets> { in get_bytes_with_u8_length()
509 pub fn get_bytes_with_u16_length(&mut self) -> Result<Octets> { in get_bytes_with_u16_length()
517 pub fn get_bytes_with_varint_length(&mut self) -> Result<Octets> { in get_bytes_with_varint_length()
524 pub fn peek_bytes(&mut self, len: usize) -> Result<Octets> { in peek_bytes()