Module encode

Source
Expand description

A module for all encoding needs.

StructsΒ§

CompressedKey πŸ”’
Configuration
Describes the static parameters for creating a decoder.
EncodeState πŸ”’
Encoder
The state for encoding data with an LZW algorithm.
Full πŸ”’
IntoStream
A encoding stream sink.
IntoVec
A encoding sink into a vector.
LsbBuffer πŸ”’
MsbBuffer πŸ”’
Simple πŸ”’
Tree πŸ”’
One tree node for at most each code. To avoid using too much memory we keep nodes with few successors in optimized form. This form doesn’t offer lookup by indexing but instead does a linear search.

EnumsΒ§

FullKey πŸ”’

ConstantsΒ§

SHORT πŸ”’

TraitsΒ§

Buffer πŸ”’
Stateful πŸ”’