DeflateRawDecompressor.setDictionary

bool setDictionary(const(ubyte)[] dict)

Set decompression dictionary for raw DEFLATE streams.

RAW DEFLATE carries no DICTID marker, so dictionary selection is an out-of-band contract between producer and consumer. Configure the dictionary before writing compressed input.

Parameters

dictDictionary bytes to use for decompression.

Returns

true if dictionary was set successfully, false otherwise.

Throws

CompressionError if dictionary setup fails.