Skip to main content

nodedb_query/msgpack_scan/reader/
mod.rs

1// SPDX-License-Identifier: Apache-2.0
2
3//! Low-level MessagePack binary reader: tag parsing, value skipping, and typed reads.
4//!
5//! All functions operate on `&[u8]` with explicit offsets. Zero allocation,
6//! zero copy. Returns `None` on truncated/invalid data — never panics.
7
8pub mod scalar;
9pub mod skip;
10pub mod tags;
11pub mod value;
12
13pub use scalar::{
14    array_header, map_header, read_bin_advance, read_bool, read_f64, read_i64, read_integer,
15    read_null, read_str, read_str_advance, read_u32_advance,
16};
17pub(crate) use scalar::{read_numeric, str_bounds};
18pub use skip::skip_value;
19pub use value::read_value;