pub trait BufExt: Buf {
// Required methods
fn get_bytes_nul(&mut self) -> Result<Bytes, Error>;
fn get_bytes(&mut self, len: usize) -> Bytes;
fn get_str_nul(&mut self) -> Result<String, Error>;
fn get_str(&mut self, len: usize) -> Result<String, Error>;
}