summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2020-08-14 22:03:03 (GMT)
committerYann Collet <cyan@fb.com>2020-08-14 22:03:03 (GMT)
commit5ab7d22fa5622ab0a02bc627e6ec8742a8e3707c (patch)
tree53c505c4a36cb917e9b60b1cd3a83744f49595cb
parente9cfa49d0ddde238a7f3dbe6320f11e3d1fe58ea (diff)
downloadlz4-5ab7d22fa5622ab0a02bc627e6ec8742a8e3707c.zip
lz4-5ab7d22fa5622ab0a02bc627e6ec8742a8e3707c.tar.gz
lz4-5ab7d22fa5622ab0a02bc627e6ec8742a8e3707c.tar.bz2
clarify endMark definition
-rw-r--r--doc/lz4_Frame_format.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/lz4_Frame_format.md b/doc/lz4_Frame_format.md
index 4548698..e7cbdbf 100644
--- a/doc/lz4_Frame_format.md
+++ b/doc/lz4_Frame_format.md
@@ -85,8 +85,8 @@ That’s where compressed data is stored.
__EndMark__
-The flow of blocks ends when the last data block is announced with
-an invalid size of “0”, expressed as a 32-bits value (exactly `0x00000000`).
+The flow of blocks ends when the last data block is followed by
+the 32-bit value `0x00000000`.
__Content Checksum__
@@ -260,9 +260,9 @@ __Block Size__
This field uses 4-bytes, format is little-endian.
-If highest bit is set (`1`), the block is uncompressed.
+If the highest bit is set (`1`), the block is uncompressed.
-If highest bit is not set (`0`), the block is LZ4-compressed,
+If the highest bit is not set (`0`), the block is LZ4-compressed,
using the [LZ4 block format specification](https://github.com/lz4/lz4/blob/master/doc/lz4_Block_format.md).
All other bits give the size, in bytes, of the data section.