LZ4_setStreamDecode(9)
π NAME π
okay so this is LZ4_setStreamDecode(9) from the Kernel API Manual, and it's literally the "hey bestie, here's where the dictionary lives" function π
β it tells the decoder where to find its dictionary.
β¨ SYNOPSIS β¨
int LZ4_setStreamDecode (LZ4_streamDecode_t *LZ4_streamDecode , const
char *dictionary , int dictSize );
π ARGUMENTS π
LZ4_streamDecodeβ theLZ4_streamDecode_tstructure π«Άdictionaryβ the dictionary to use πΈdictSizeβ size of dictionary β¨
π¦ DESCRIPTION π¦
Use this function to instruct where to find the dictionary. No cap, that's the whole vibe π
Setting a size of 0 is allowed β same effect as reset πβ¨
π RETURN π
1 if OK, 0 if error π
π SEE ALSO π
Kernel file ./include/linux/lz4.h π§
LZ4_compressBound(9)LZ4_compress_default(9)LZ4_compress_fast(9)LZ4_compress_destSize(9)LZ4_decompress_fast(9)LZ4_decompress_safe(9)LZ4_decompress_safe_partial(9)LZ4_compress_HC(9)LZ4_resetStreamHC(9)LZ4_loadDictHC(9)LZ4_compress_HC_continue(9)LZ4_saveDictHC(9)LZ4_resetStream(9)LZ4_loadDict(9)LZ4_saveDict(9)LZ4_compress_fast_continue(9)LZ4_decompress_safe_continue(9)LZ4_decompress_fast_continue(9)LZ4_decompress_safe_usingDict(9)LZ4_decompress_fast_usingDict(9)
mwah π this page lives under ./include/linux, dated October 2026, and it's LZ4_setStreamDecode(9) β periodt β¨π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms