deflateSetDictionary

fnint deflateSetDictionary(z_stream * strm, const(ubyte) * dictionary, uint dictLength) nothrow

Set compression dictionary.

Parameters

strmPointer to z_stream.
dictionaryDictionary data.
dictLengthLength of dictionary.

Returns

Z_OK on success, or an error code.