2 releases
0.3.2 | Dec 12, 2023 |
---|---|
0.3.1 | Nov 30, 2023 |
#606 in Compression
30 downloads per month
Used in 2 crates
(via adder-codec-core)
240KB
388 lines
Arithmetic Coding
A symbolic arithmetic coding library.
Extending this library is as simple as implementing the Model
trait for your own type, and then plugging it in the provided Encoder
/Decoder
. Supports both fixed-length and variable-length encoding, as well as both adaptive and non-adaptive models.
Take a look at the API docs or the examples.
This crate is heavily inspired by
Dependencies
~0.4–0.9MB
~19K SLoC