mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
produced golden sample for the offset==0 decoder test
is correctly detected as corrupted by new version, and is accepted (changed into offset==1) by older version. updated documentation accordingly, with an hexadecimal representation.
This commit is contained in:
parent
d2f56ba442
commit
eb5f7a7fa2
2 changed files with 1 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ Offset == 0
|
|||
|
||||
**Produced by the reference compressor**: No
|
||||
|
||||
**Example Frame**: `28b5 2ffd 2000 1500 0000 00`
|
||||
**Example Frame**: `28b5 2ffd 0000 4500 0008 0002 002f 430b ae`
|
||||
|
||||
If a sequence is decoded with `literals_length = 0` and `offset_value = 3`
|
||||
while `Repeated_Offset_1 = 1`, the computed offset will be `0`, which is
|
||||
|
|
@ -49,8 +49,6 @@ Non-zeroes reserved bits
|
|||
|
||||
**Produced by the reference compressor**: No
|
||||
|
||||
**Example Frame**: `28b5 2ffd 2000 1500 0000 00`
|
||||
|
||||
The Sequences section of each block has a header, and one of its elements is a
|
||||
byte, which describes the compression mode of each symbol.
|
||||
This byte contains 2 reserved bits which must be set to zero.
|
||||
|
|
|
|||
BIN
tests/golden-decompression-errors/off0.bin.zst
Normal file
BIN
tests/golden-decompression-errors/off0.bin.zst
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue