ZstdDecompressor.setDictionary

bool setDictionary(const(ubyte)[] dict)

Provide a dictionary if required.

Parameters

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

Returns

true if the dictionary was loaded successfully, false on error.

Throws

Does not throw; returns false on ZSTD errors.