lzw 0.1.0 copy "lzw: ^0.1.0" to clipboard
lzw: ^0.1.0 copied to clipboard

LZW data compression.

LZW data compression.

Usage #

Encode:

var encoded = LZW.encode([ /* raw bytes */ ]);

Decode:

var raw = LZW.decode([ /* encoded bytes */ ]);

Take a look at the example folder to know how to use the library to compress and decompress files.

Options #

The class LzwOption can be used if more control over the process is needed.

var options = new LzwOptions(lsb: false, clear: true);

var codec = new LzwCodec(options);

codec.encode([ /* raw bytes */ ]);

codec.decode([ /* encoded bytes */ ]);

Read the documentation of the LzwOption class to know all the available options.

2
likes
20
points
6
downloads

Publisher

unverified uploader

Weekly Downloads

LZW data compression.

License

unknown (license)

More

Packages that depend on lzw