Lzss-cli is a cli interface to the lzss
crate.
shell
cargo install lzss-cli
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:
shell
lzss e 10,4,0x20 <input >outout
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.