DeflateRawStdZlibCompressor.setDictionary

bool setDictionary(const(ubyte)[] dict)

Set compression dictionary for better compression ratios.

Parameters

dictDictionary bytes to use for compression.

Returns

true if dictionary was set successfully, false otherwise.

Throws

CompressionError if dictionary setup fails.