OC-misc/lz16
2020-03-08 02:16:31 +11:00
..
liblz16.lua removed some unnecessary stuff 2020-03-06 22:07:05 +11:00
README.md added file format documentation 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.