Binary file not shown.
@@ -114,7 +114,7 @@ compressed independently using LZSS with the following parameters:
|
|||||||
|
|
||||||
== Block format
|
== Block format
|
||||||
|
|
||||||
Streams are encoded as a sequence of 8‑item groups preceded by a flag byte:
|
Streams are encoded as a sequence of 8-item groups preceded by a flag byte:
|
||||||
|
|
||||||
- For each bit b (0..7) in the flag (LSB first):
|
- For each bit b (0..7) in the flag (LSB first):
|
||||||
- If `(flag >> b) & 1 == 1`: Literal - copy next byte to output.
|
- If `(flag >> b) & 1 == 1`: Literal - copy next byte to output.
|
||||||
|
Reference in New Issue
Block a user