DeflateDecompressor.setDictionary

bool setDictionary(const(ubyte)[] dict)

Configure a dictionary for streams that declare FDICT.

The dictionary is stored and applied lazily when inflate reports Z_NEED_DICT, allowing callers to provide it either before or after receiving the need-dictionary signal.

Returns

true if accepted, false when the stream is already finished.