Skip to main content

Module prelude

Module prelude 

Source
Expand description

Common binary codec types and essential core primitives.

Importing this module brings fixed-width, LEB128, ZigZag, byte-order, and core codec types into scope.

Re-exports§

pub use crate::BinaryCodec;
pub use crate::Leb128Codec;
pub use crate::Leb128DecodeError;
pub use crate::Leb128DecodeErrorKind;
pub use crate::Leb128DecodePolicy;
pub use crate::NonStrict;
pub use crate::Strict;
pub use crate::ZigZagCodec;

Structs§

BigEndian
Type-level marker for big-endian byte order.
LittleEndian
Type-level marker for little-endian byte order.

Enums§

ByteOrder
Runtime byte order selector.

Traits§

ByteOrderSpec
Describes a type-level byte order.
Codec
Encodes and decodes one value or codec quantum against a unit buffer.