Module arithmetic_coding_adder_dep::max_length
source · Expand description
Helper trait for creating fixed-length Models
Structs
- A wrapper which converts a
fixed_length::Model
to acrate::Model
.
Enums
- Fixed-length encoding/decoding errors
Traits
- A
Model
is used to calculate the probability of a given symbol occuring in a sequence. TheModel
is used both for encoding and decoding. A ‘max-length’ model has a maximum length. The compressed size of a message equal to the maximum length is larger than with afixed_length::Model
, but smaller than with aModel
.