5 unstable releases
0.3.1 | Aug 17, 2022 |
---|---|
0.3.0 | Aug 4, 2022 |
0.2.0 | Mar 23, 2022 |
0.1.1 | Mar 23, 2022 |
0.1.0 | Mar 19, 2022 |
#564 in Compression
Used in 2 crates
265KB
663 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–1MB
~20K SLoC