pub fn with_dict(reader: R, prefs: Preferences, dict: Dictionary) -> Result<Self> {
        Ok(Self {
            inner: reader,
            comp: Compressor::new(prefs, Some(dict))?,
            consumed: 0,
        })
    }
/// Creates a new `BufReadCompressor<R>` with a dictionary.
Creates a new `BufReadCompressor` with a dictionary.
Creates a new ` BufReadCompressor ` with a dictionary .
pub fn with_dict(reader: R, prefs: Preferences, dict: Dictionary) -> Result<Self> {
        Ok(Self {
            inner: reader,
            comp: Compressor::new(prefs, Some(dict))?,
            consumed: 0,
        })
    }
pub fn with_dict ( reader : R , prefs : Preferences , dict : Dictionary ) -> Result < Self > { Ok ( Self { inner : reader , comp : Compressor :: new ( prefs , Some ( dict ) ) ? , consumed : 0 , } ) }
Creates a new `BufReadCompressor<R>` with a dictionary.
Creates a new ` BufReadCompressor<R > ` with a dictionary .
reader
R
prefs
Preferences
dict
Dictionary
reader
R
prefs
Preferences
dict
Dictionary