Expand description
Helper trait for creating fixed-length Models
Structs§
- Wrapper
- A wrapper which converts a
fixed_length::Model
to acrate::Model
.
Enums§
- Error
- Fixed-length encoding/decoding errors
Traits§
- Model
- 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
.