pub fn new(reader: R, prefs: Preferences) -> Result<Self> {
        Ok(Self {
            inner: AsyncBufReadCompressor::new(BufReader::new(reader), prefs)?,
        })
    }
/// Creates a new `AsyncBufReadCompressor<R>`.
Creates a new `AsyncBufReadCompressor`.
Creates a new ` AsyncBufReadCompressor ` .
pub fn new(reader: R, prefs: Preferences) -> Result<Self> {
        Ok(Self {
            inner: AsyncBufReadCompressor::new(BufReader::new(reader), prefs)?,
        })
    }
pub fn new ( reader : R , prefs : Preferences ) -> Result < Self > { Ok ( Self { inner : AsyncBufReadCompressor :: new ( BufReader :: new ( reader ) , prefs ) ? , } ) }
Creates a new `AsyncBufReadCompressor<R>`.
Creates a new ` AsyncBufReadCompressor<R > ` .
reader
R
prefs
Preferences
reader
R
prefs
Preferences