Skip to main content

vest_lib/primitives/
mod.rs

1//! Verified variable-width integer formats built from the core combinators.
2//!
3//! Fixed-width byte and integer formats live in [`crate::combinators`]. This
4//! module contains reusable encodings whose representation depends on the
5//! value, including base-128, base-256, Bitcoin VarInt, and unsigned LEB128.
6/// Unsigned big-endian base-128 (VLQ) format.
7pub mod base128;
8/// Unsigned big-endian base-256 format.
9pub mod base256;
10/// Bitcoin VarInt format.
11pub mod btcvarint;
12/// Unsigned little-endian base-128 (ULEB128) format.
13pub mod leb128;