pub fn read_frame_info(&mut self) -> std::io::Result<FrameInfo> {
        loop {
            if let Some(frame) = self.decomp.frame_info() {
                return Ok(frame);
            }
            self.decomp.decode_header_only(true);
            let _ = self.read(&mut [])?;
            self.decomp.decode_header_only(false);
        }
    }
/// Reads the frame header and returns `FrameInfo`.
///
/// Calling this function before any `Read` or `BufRead` operations
/// does not consume the frame body.
Reads the frame header and returns `FrameInfo`.
Calling this function before any `Read` or `BufRead` operations
does not consume the frame body.
Reads the frame header and returns ` FrameInfo ` . Calling this function before any ` Read ` or ` BufRead ` operations does not consume the frame body .
pub fn read_frame_info(&mut self) -> std::io::Result<FrameInfo> {
        loop {
            if let Some(frame) = self.decomp.frame_info() {
                return Ok(frame);
            }
            self.decomp.decode_header_only(true);
            let _ = self.read(&mut [])?;
            self.decomp.decode_header_only(false);
        }
    }
pub fn read_frame_info ( & mut self ) -> std :: io :: Result < FrameInfo > { loop { if let Some ( frame ) = self . decomp . frame_info ( ) { return Ok ( frame ) ; } self . decomp . decode_header_only ( true ) ; let _ = self . read ( & mut [ ] ) ? ; self . decomp . decode_header_only ( false ) ; } }
Reads the frame header and returns `FrameInfo`.
Reads the frame header and returns ` FrameInfo ` .
&mut self
&mut self