summaryrefslogtreecommitdiffstats
path: root/doc/lz4_Frame_format.md
diff options
context:
space:
mode:
authorYann Collet <Cyan4973@users.noreply.github.com>2019-04-16 17:07:41 (GMT)
committerGitHub <noreply@github.com>2019-04-16 17:07:41 (GMT)
commitf1226ac53dee1b41a801e8003bb3708a2e671d12 (patch)
treedd17db72ce5d38e4d1cc65e4a298b11d2d96c817 /doc/lz4_Frame_format.md
parent01d2a721d393646384291af2f6f2f940493cd78f (diff)
parentfc3176f6aa6b8034e0a27598c23bdda559b5cf9c (diff)
downloadlz4-f1226ac53dee1b41a801e8003bb3708a2e671d12.zip
lz4-f1226ac53dee1b41a801e8003bb3708a2e671d12.tar.gz
lz4-f1226ac53dee1b41a801e8003bb3708a2e671d12.tar.bz2
Merge pull request #670 from lz4/dev
v1.9.0
Diffstat (limited to 'doc/lz4_Frame_format.md')
-rw-r--r--doc/lz4_Frame_format.md17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/lz4_Frame_format.md b/doc/lz4_Frame_format.md
index a8541f5..a0514e0 100644
--- a/doc/lz4_Frame_format.md
+++ b/doc/lz4_Frame_format.md
@@ -265,20 +265,23 @@ The highest bit is “1” if data in the block is uncompressed.
The highest bit is “0” if data in the block is compressed by LZ4.
-All other bits give the size, in bytes, of the following data block
-(the size does not include the block checksum if present).
+All other bits give the size, in bytes, of the following data block.
+The size does not include the block checksum if present.
Block Size shall never be larger than Block Maximum Size.
-Such a thing could happen for incompressible source data.
-In such case, such a data block shall be passed in uncompressed format.
+Such a thing could potentially happen for non-compressible sources.
+In such a case, such data block shall be passed using uncompressed format.
__Data__
Where the actual data to decode stands.
It might be compressed or not, depending on previous field indications.
-Uncompressed size of Data can be any size, up to “block maximum size”.
-Note that data block is not necessarily full :
-an arbitrary “flush” may happen anytime. Any block can be “partially filled”.
+
+When compressed, the data must respect the [LZ4 block format specification](https://github.com/lz4/lz4/blob/master/doc/lz4_Block_format.md).
+
+Note that the block is not necessarily full.
+Uncompressed size of data can be any size, up to "Block Maximum Size”,
+so it may contain less data than the maximum block size.
__Block checksum__