15 lines
416 B
Markdown
15 lines
416 B
Markdown
# LZ16 - simple compressed file format
|
|
|
|
LZ16 provides a simple format for reading and writing LZSS-compressed files on memory-contained systems.
|
|
|
|
## File format
|
|
|
|
LZ16 files start with a 4 byte header, reading "lz16".
|
|
|
|
This is followed by an arbitrary number of blocks in the format:
|
|
|
|
- 2 bytes compressed data length
|
|
- the compressed data
|
|
|
|
This is terminated either by a zero-length block, or the end of the file.
|