Lines Matching defs:dictionary

359  *  Use this function to reference a static dictionary into LZ4_stream_t.
360 * The dictionary must remain available during compression.
362 * The same dictionary will have to be loaded on decompression side for successful decoding.
364 * While LZ4 accept any input as dictionary,
367 * @return : loaded dictionary size, in bytes (necessarily <= 64 KB)
369 LZ4LIB_API int LZ4_loadDict (LZ4_stream_t* streamPtr, const char* dictionary, int dictSize);
401 * @return : saved dictionary size in bytes (necessarily <= maxDictSize), or 0 if error.
426 * A dictionary can optionally be set. Use NULL or size 0 for a reset order.
430 LZ4LIB_API int LZ4_setStreamDecode (LZ4_streamDecode_t* LZ4_streamDecode, const char* dictionary, int dictSize);
549 * efficient use of a static dictionary many times.
551 * Rather than re-loading the dictionary buffer into a working context before
552 * each compression, or copying a pre-loaded dictionary's LZ4_stream_t into a
554 * in which the working stream references the dictionary stream in-place.
556 * Several assumptions are made about the state of the dictionary stream.
561 * in which case any existing dictionary stream is unset.
563 * If a dictionary is provided, it replaces any pre-existing stream history.
564 * The dictionary contents are the only history that can be referenced and
568 * The dictionary will only remain attached to the working stream through the
569 * first compression call, at the end of which it is cleared. The dictionary
680 const LZ4_byte* dictionary;