vexil_runtime/lib.rs
1pub mod bit_reader;
2pub mod bit_writer;
3pub mod error;
4pub mod leb128;
5pub mod traits;
6pub mod zigzag;
7
8pub use bit_reader::BitReader;
9pub use bit_writer::BitWriter;
10pub use error::{DecodeError, EncodeError};
11pub use traits::{Pack, Unpack};
12
13pub const MAX_BYTES_LENGTH: u64 = 1 << 26;
14pub const MAX_COLLECTION_COUNT: u64 = 1 << 24;
15pub const MAX_LENGTH_PREFIX_BYTES: u8 = 4;
16pub const MAX_RECURSION_DEPTH: u32 = 64;