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