pub fn new(reader: R) -> Result<Self> {
        Ok(Self {
            inner: reader,
            decomp: Decompressor::new()?,
            consumed: 0,
        })
    }
/// Creates a new `BufReadDecompressor<R>`.
Creates a new `BufReadDecompressor`.
Creates a new ` BufReadDecompressor ` .
pub fn new(reader: R) -> Result<Self> {
        Ok(Self {
            inner: reader,
            decomp: Decompressor::new()?,
            consumed: 0,
        })
    }
pub fn new ( reader : R ) -> Result < Self > { Ok ( Self { inner : reader , decomp : Decompressor :: new ( ) ? , consumed : 0 , } ) }
Creates a new `BufReadDecompressor<R>`.
Creates a new ` BufReadDecompressor<R > ` .
reader
R
reader
R