pub fn with_prepared_dictionary(
        writer: W,
        dictionary: &DecoderDictionary<'_>,
    ) -> io::Result<Self> {
        let decoder = raw::Decoder::with_prepared_dictionary(dictionary)?;
        let writer = zio::Writer::new(writer, decoder);
        Ok(Decoder { writer })
    }
/// Creates a new decoder, using an existing prepared `DecoderDictionary`.
///
/// (Provides better compression ratio for small files,
/// but requires the dictionary to be present during decompression.)
Creates a new decoder, using an existing prepared `DecoderDictionary`.
(Provides better compression ratio for small files,
but requires the dictionary to be present during decompression.)
Creates a new decoder using an existing prepared ` DecoderDictionary ` . ( Provides better compression ratio for small files but requires the dictionary to be present during decompression . )
pub fn with_prepared_dictionary(
        writer: W,
        dictionary: &DecoderDictionary<'_>,
    ) -> io::Result<Self> {
        let decoder = raw::Decoder::with_prepared_dictionary(dictionary)?;
        let writer = zio::Writer::new(writer, decoder);
        Ok(Decoder { writer })
    }
pub fn with_prepared_dictionary ( writer : W , dictionary : & DecoderDictionary < ' _ > , ) -> io :: Result < Self > { let decoder = raw :: Decoder :: with_prepared_dictionary ( dictionary ) ? ; let writer = zio :: Writer :: new ( writer , decoder ) ; Ok ( Decoder { writer } ) }
Creates a new decoder, using an existing prepared `DecoderDictionary`.
Creates a new decoder using an existing prepared ` DecoderDictionary ` .
writer
W
dictionary
&DecoderDictionary<'_>
writer
W
dictionary
&DecoderDictionary<'_>