LZ4_decompr...fe_usingDict(9)
π NAME π
okay so bestie, meet LZ4_decompress_safe_usingDict β a Kernel API Manual icon, and the whole NAME vibe is literally: same as LZ4_setStreamDecode() followed by LZ4_decompress_safe_continue(). no cap, that's the tea. π«Άβ¨
β¨ SYNOPSIS β¨
int LZ4_decompress_safe_usingDict (const char *source , char *dest , int compressedSize , int maxDecompressedSize , const char *dictStart , int dictSize );
π ARGUMENTS π
sourceβ source address of the compressed data. πdestβ output buffer address of the uncompressed data which must be already allocated. πcompressedSizeβ is the precise full size of the compressed block. β¨maxDecompressedSizeβ is the size of'dest'buffer. π¦dictStartβ pointer to the start of the dictionary in memory. π§dictSizeβ size of dictionary. πΈ
π DESCRIPTION π
This decoding function works the same as a combination of LZ4_setStreamDecode followed by LZ4_decompress_safe_continue. It is stand-alone, and doesn't need an LZ4_streamDecode_t structure. periodt. π
π₯ RETURN π₯
It gives you the number of bytes decompressed into destination buffer (necessarily <= maxDecompressedSize) or a negative result in case of error. ππ
π¦ SEE ALSO π¦
go peek at these icons too, iykyk:
- 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_setStreamDecode(9)LZ4_decompress_safe_continue(9)LZ4_decompress_fast_continue(9)LZ4_decompress_fast_usingDict(9)
made with π in ./include/linux, October 2026 β mwah, bestie! π
β¨
π¦ 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