Skip to main content

read_frame

Function read_frame 

Source
pub fn read_frame<R: Read + ?Sized>(r: &mut R) -> Result<Option<Vec<u8>>>
Expand description

Read one frame. Ok(None) on a clean end of stream before a frame starts.