0
0
mirror of https://github.com/lz4/lz4 synced 2026-01-18 17:21:30 +01:00

Merge pull request #1634 from Artoria2e5/patch-1

lz4_Frame_format.md: document kernel legacy last block
This commit is contained in:
Yann Collet
2025-09-11 14:52:31 -07:00
committed by GitHub

View File

@@ -358,7 +358,9 @@ Main characteristics of the legacy format :
- All blocks are always compressed, even when compression is detrimental.
- The last block is detected either because
it is followed by the “EOF” (End of File) mark,
or because it is followed by a known Frame Magic Number.
or because it is followed by a known Frame Magic Number.<br>
In the Linux Kernel implementation, it can also be detected because it
is followed by a sequence of four zero bytes.
- No checksum
- Convention is Little endian