Crates.io | lzss-cli |
lib.rs | lzss-cli |
version | 0.9.0 |
source | src |
created_at | 2021-06-07 16:48:14.678345 |
updated_at | 2023-02-01 15:20:46.579851 |
description | A LZSS en-/decompressor CLI (lossless data compression, in pure Rust) |
homepage | |
repository | https://github.com/alexkazik/lzss |
max_upload_size | |
id | 407373 |
size | 7,662 |
Lzss-cli is a cli interface to the lzss
crate.
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:
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.