pub fn read(&self) -> Option<&[u8]> {
        if self.len == 0 {
            None
        } else {
            unsafe { Some(slice::from_raw_parts(self.ptr, self.len)) }
        }
    }
// read provides a reference to the included data to be parsed or copied elsewhere
// data is only guaranteed to live as long as the Buffer
// (or the scope of the extern "C" call it came from)
read provides a reference to the included data to be parsed or copied elsewhere
data is only guaranteed to live as long as the Buffer
(or the scope of the extern "C" call it came from)
read provides a reference to the included data to be parsed or copied elsewhere data is only guaranteed to live as long as the Buffer ( or the scope of the extern " C " call it came from )
pub fn read(&self) -> Option<&[u8]> {
        if self.len == 0 {
            None
        } else {
            unsafe { Some(slice::from_raw_parts(self.ptr, self.len)) }
        }
    }
pub fn read ( & self ) -> Option < & [ u8 ] > { if self . len == 0 { None } else { unsafe { Some ( slice :: from_raw_parts ( self . ptr , self . len ) ) } } }
read provides a reference to the included data to be parsed or copied elsewhere
data is only guaranteed to live as long as the Buffer
(or the scope of the extern "C" call it came from)
read provides a reference to the included data to be parsed or copied elsewhere data is only guaranteed to live as long as the Buffer ( or the scope of the extern " C " call it came from )
&self