#![deny(missing_docs, clippy::all, missing_debug_implementations)]
#![warn(clippy::pedantic)]
pub use arithmetic_coding_core_adder_dep::{fixed_length, max_length, one_shot, BitStore, Model};
pub mod decoder;
pub mod encoder;
pub use decoder::Decoder;
pub use encoder::Encoder;
#[derive(Debug, thiserror::Error)]
pub enum Error {
#[error("io error")]
Io(#[from] std::io::Error),
#[error("invalid symbol")]
ValueError,
}