Expand description
Traits and utilities for dealing with integers.
In particular the Signed and Unsigned traits are defined in here which allows for musli to work over signed and unsigned numbers generically.
We also have a 7-bit continuation encoding, and zigzag encoding which are based on these.
Modules§
- continuation
- A variable-length 7-bit encoder where each bit indicates if there is a continuation of the sequence or not.
- zigzag
- Generic zigzag encoding for integers.
Enums§
- BigEndian
- Defines big-endian serialization.
- Little
Endian - Defines little-endian serialization.
Traits§
- Byte
Order - Trait governing byte orders.
- Byte
Order Io - Helper trait for performing I/O over Unsigned types.
- Signed
- Trait that encodes common behaviors of signed numbers.
- Unsigned
- Trait that encodes common behaviors of unsigned numbers.
Type Aliases§
- Native
Endian - Defines system native-endian byte order.
- Network
Endian - Defines the network byte order, which is the same as BigEndian.