Crate heatshrink

Source
Expand description

Minimal compression & decompression library for embedded use Implements the Heatshrink compression algorithm described here https://github.com/atomicobject/heatshrink and here https://spin.atomicobject.com/2013/03/14/heatshrink-embedded-data-compression/

Modules§

decoder
module to uncompress some compressed data
encoder
module to compress data

Structs§

OutputInfo
Structure to manage the output buffer and keep track of how much it is filled

Enums§

HSError
Error that can be encountered while (un)compresing data
HSfinishRes
Return code for finish function call
HSpollRes
Return code for poll function call
HSsinkRes
Return code for sink finction call

Constants§

HEATSHRINK_LOOKAHEAD_BITS
Number of bits used for back-reference lengths
HEATSHRINK_WINDOWS_BITS
Base-2 log of LZSS sliding window size