LZSS algorithm
- LZSS is a dictionary-based compression algorithm with a sliding window.
- It also encodes repetitions of multiple bytes.
Uncompressed data:
current
| Look back by 3 bytes.
| Repeat 8 bytes.
v
|x|y|z|a|b|c|a|b|c|a|b|c|a|b|d|e|f|...
Compressed data:
|x|y|z|a|b|c|3,8|d|e|f|...