Merge pull request #2321 from senhuang42/disallow_repcode_0_in_dict

Update documentation about repcodes in dictionaries
This commit is contained in:
Yann Collet 2020-09-30 08:27:21 -07:00 committed by GitHub
commit 6932216e9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1440,7 +1440,7 @@ __`Entropy_Tables`__ : follow the same format as tables in [compressed blocks].
Repeat distribution mode for sequence decoding.
It's finally followed by 3 offset values, populating recent offsets (instead of using `{1,4,8}`),
stored in order, 4-bytes __little-endian__ each, for a total of 12 bytes.
Each recent offset must have a value < dictionary size.
Each recent offset must have a value <= dictionary content size, and cannot equal 0.
__`Content`__ : The rest of the dictionary is its content.
The content act as a "past" in front of data to compress or decompress,