Skip to main content

qubit_codec_binary/
prelude.rs

1// =============================================================================
2//    Copyright (c) 2026 Haixing Hu.
3//
4//    SPDX-License-Identifier: Apache-2.0
5//
6//    Licensed under the Apache License, Version 2.0.
7// =============================================================================
8
9//! Common binary codec types and essential core primitives.
10//!
11//! Importing this module brings fixed-width, LEB128, ZigZag, byte-order, and
12//! core codec types into scope.
13
14pub use crate::{
15    BigEndian,
16    BinaryCodec,
17    ByteOrder,
18    ByteOrderSpec,
19    Codec,
20    Leb128Codec,
21    Leb128DecodeError,
22    Leb128DecodeErrorKind,
23    Leb128DecodePolicy,
24    LittleEndian,
25    NonStrict,
26    Strict,
27    ZigZagCodec,
28};