LZ4_decompr...fe_usingDict(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


made with πŸ’œ in ./include/linux, October 2026 β€” mwah, bestie! πŸ’…βœ¨

πŸ“¦ where this page comes from