pub fn new(inner: R) -> Self {
        Decoder {
            header: None,
            reader: deflate::Decoder::new(inner),
            adler32: checksum::Adler32::new(),
            eos: false,
        }
    }
/// Makes a new decoder instance.
///
/// `inner` is to be decoded ZLIB stream.
///
/// # Examples
/// ```
/// use std::io::Read;
/// use libflate::non_blocking::zlib::Decoder;
///
/// let encoded_data = [120, 156, 243, 72, 205, 201, 201, 87, 8, 207, 47,
///                     202, 73, 81, 4, 0, 28, 73, 4, 62];
///
/// let mut decoder = Decoder::new(&encoded_data[..]);
/// let mut buf = Vec::new();
/// decoder.read_to_end(&mut buf).unwrap();
///
/// assert_eq!(buf, b"Hello World!");
/// ```
Makes a new decoder instance.
`inner` is to be decoded ZLIB stream.
Makes a new decoder instance . ` inner ` is to be decoded ZLIB stream .
pub fn new(inner: R) -> Self {
        Decoder {
            header: None,
            reader: deflate::Decoder::new(inner),
            adler32: checksum::Adler32::new(),
            eos: false,
        }
    }
pub fn new ( inner : R ) -> Self { Decoder { header : None , reader : deflate :: Decoder :: new ( inner ) , adler32 : checksum :: Adler32 :: new ( ) , eos : false , } }
Makes a new decoder instance.
Makes a new decoder instance .
inner
R
inner
R
examples
```
use std::io::Read;
use libflate::non_blocking::zlib::Decoder.



let mut decoder = Decoder::new(&encoded_data[..]);
let mut buf = Vec::new();
decoder.read_to_end(&mut buf).unwrap().


` ` ` use std :: io :: Read ; use libflate :: non_blocking :: zlib :: Decoder . let mut decoder = Decoder :: new ( &encoded_data [ .. ] ) ; let mut buf = Vec :: new () ; decoder . read_to_end ( &mut buf ) . unwrap () .