pub fn read_u16be(&mut self) -> u16 {
    let r = bytes::BigEndian::read_u16(&self.buf[self.pos..self.pos + 2]);
    self.pos += 2;
    r
  }
/// From the buffer take 2 bytes and interpret them as big endian u16.
From the buffer take 2 bytes and interpret them as big endian u16.
From the buffer take 2 bytes and interpret them as big endian u16 .
pub fn read_u16be(&mut self) -> u16 {
    let r = bytes::BigEndian::read_u16(&self.buf[self.pos..self.pos + 2]);
    self.pos += 2;
    r
  }
pub fn read_u16be ( & mut self ) -> u16 { let r = bytes :: BigEndian :: read_u16 ( & self . buf [ self . pos .. self . pos + 2 ] ) ; self . pos += 2 ; r }
From the buffer take 2 bytes and interpret them as big endian u16.
From the buffer take 2 bytes and interpret them as big endian u16 .
&mut self