From 5ab7d22fa5622ab0a02bc627e6ec8742a8e3707c Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Fri, 14 Aug 2020 15:03:03 -0700 Subject: clarify endMark definition --- doc/lz4_Frame_format.md | 8 ++++---- 1 file 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. -- cgit v0.12