6 releases (3 breaking)
0.4.0 | Oct 29, 2024 |
---|---|
0.3.1 | Aug 17, 2022 |
0.2.0 | Mar 23, 2022 |
0.1.1 | Mar 23, 2022 |
#236 in Compression
Used in 2 crates
270KB
639 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
Was this useful? Buy me a coffee
Dependencies
~0.4–0.9MB
~19K SLoC