OC-misc/lz16/README.md

15 lines
416 B
Markdown
Raw Permalink Normal View History

2020-03-08 02:16:31 +11:00
# 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.