OC-misc/lz16
Izaya 1f5c0b013e updated liblz16 and libmtar to use string.(un)pack and support bigger files 2021-05-26 17:49:42 +10:00
..
README.md added file format documentation 2020-03-08 02:16:31 +11:00
liblz16.lua updated liblz16 and libmtar to use string.(un)pack and support bigger files 2021-05-26 17:49:42 +10:00

README.md

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.