Pure Rust implimention of range-coder.
Agnostic for probability models (eg. freq table) by PModel(trait)
.
Add dependency to your Cargo.toml
[dependencies]
range_coder = { git="https://github.com/diegodox/range_coder_rust.git", tag = "v0.1.0" }
You can run example by following command.
These examples use the default syntax for running examples, as found in the Cargo documentation.
cargo run --example sample_impl