pub fn fixed_bytes(&mut self, size: usize) -> Vec<u8> {
        if self.buf.len() < size {
            panic("insufficient fixed bytes");
        }
        let value = &self.buf[..size];
        self.buf = &self.buf[size..];
        value.to_vec()
    }
// decodes the next fixed length substring of bytes from the byte buffer
decodes the next fixed length substring of bytes from the byte buffer
decodes the next fixed length substring of bytes from the byte buffer
pub fn fixed_bytes(&mut self, size: usize) -> Vec<u8> {
        if self.buf.len() < size {
            panic("insufficient fixed bytes");
        }
        let value = &self.buf[..size];
        self.buf = &self.buf[size..];
        value.to_vec()
    }
pub fn fixed_bytes ( & mut self , size : usize ) -> Vec < u8 > { if self . buf . len ( ) < size { panic ( " " ) ; } let value = & self . buf [ .. size ] ; self . buf = & self . buf [ size .. ] ; value . to_vec ( ) }
decodes the next fixed length substring of bytes from the byte buffer
decodes the next fixed length substring of bytes from the byte buffer
&mut self
size
usize