2 unstable releases
0.9.0 | Feb 1, 2023 |
---|---|
0.8.0 | Jun 7, 2021 |
#705 in Compression
71KB
1.5K
SLoC
Lempel–Ziv–Storer–Szymanski de-/compression
Lzss-cli is a cli interface to the lzss
crate.
Installation
cargo install lzss-cli
Usage
lzss <'e'|'d'> <ei,ej,c>
Either 'e' or 'd' to en-/decode.
ei,ej,c
are the compression parameters, see the lzss crate
for more information about that.
Example:
lzss e 10,4,0x20 <input >outout
Lack of a header
This algorithm has by design no header at all. Please be aware that it is not possible to check if the contents is correct, or even the length matches. It is recommended to add a header based on the requirements.
Thus, this may be not a suitable program for you, but it is easy to create an own program - use this as a starting point.