musli_binary_common/int/mod.rs
1//! Traits and utilities for dealing with integers.
2//!
3//! In particular the [Signed] and [Unsigned] traits are defined in here which
4//! allows for musli to work over signed and unsigned numbers generically.
5//!
6//! We also have a 7-bit [continuation] encoding, and [zigzag] encoding which
7//! are based on these.
8
9mod byteorder;
10pub mod continuation;
11mod traits;
12pub mod zigzag;
13
14pub use self::byteorder::{BigEndian, ByteOrder, LittleEndian, NativeEndian, NetworkEndian};
15pub use self::traits::{ByteOrderIo, Signed, Unsigned};
16
17#[cfg(test)]
18mod tests;