Expand description

Helper trait for creating fixed-length Models

Structs

A wrapper which converts a fixed_length::Model to a crate::Model.

Enums

Fixed-length encoding/decoding errors

Traits

A Model is used to calculate the probability of a given symbol occuring in a sequence. The Model 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 a fixed_length::Model, but smaller than with a Model.