Expand description
§Qubit Binary Codec
Buffer-oriented binary codecs for Rust.
This crate provides fixed-width scalar, LEB128, and ZigZag codecs for
caller-managed byte buffers. Stream-oriented readers and writers live in
qubit-io-binary.
Structs§
- Binary
Codec - Type-level unchecked binary codec for one scalar type and one byte order.
- Leb128
Codec - Type-level unchecked LEB128 codec.
- Leb128
Decode Error - Error reported while decoding a LEB128 integer from a byte buffer.
- NonStrict
- Marker type selecting non-strict decoding.
- Strict
- Marker type selecting strict decoding.
- ZigZag
Codec - Type-level unchecked ZigZag + unsigned LEB128 codec.
Enums§
- Leb128
Decode Error Kind - Classifies failures detected while decoding LEB128 integers.
Traits§
- Leb128
Decode Policy - Describes a type-level LEB128 decoding policy.