lzss-cli

Crates.iolzss-cli
lib.rslzss-cli
version0.9.0
sourcesrc
created_at2021-06-07 16:48:14.678345
updated_at2023-02-01 15:20:46.579851
descriptionA LZSS en-/decompressor CLI (lossless data compression, in pure Rust)
homepage
repositoryhttps://github.com/alexkazik/lzss
max_upload_size
id407373
size7,662
Alex Kazik (alexkazik)

documentation

README

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.

Commit count: 52

cargo fmt