Expand description

Arithmetic coding library

Re-exports

pub use decoder::Decoder;
pub use encoder::Encoder;

Modules

The Decoder half of the arithmetic coding library.

The Encoder half of the arithmetic coding library.

Helper trait for creating fixed-length Models

Helper trait for creating fixed-length Models

Helper trait for creating Models which only accept a single symbol

Enums

Errors that can occur during encoding/decoding

Traits

A trait for a type that can be used for the internal integer representation of an encoder or decoder

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.