LzmaCompressor.setDictionary

bool setDictionary(const(ubyte)[] dict)

Set a compression dictionary.

Parameters

dictRaw dictionary bytes. Pass an empty array to clear the current dictionary.

Returns

false — liblzma's .xz container does not support preset

dictionaries at the stream level, so this provider reports the feature as unsupported.

Throws

Does not throw; returns false on any non-empty dictionary.