Skip to main content

Crate qubit_codec

Crate qubit_codec 

Source
Expand description

§qubit-codec

Core codec traits and buffer conversion primitives for Rust applications.

This crate contains only domain-neutral building blocks such as value codecs, owned encoder/decoder helpers, byte-order markers, and progress-oriented buffer transcoders. Concrete binary, text, misc, and I/O adapters live in sibling crates.

Modules§

prelude
Common codec traits and buffer conversion primitives.

Structs§

BigEndian
Type-level marker for big-endian byte order.
LittleEndian
Type-level marker for little-endian byte order.
TranscodeProgress
Counts how much work a crate::Transcoder completed before returning.

Enums§

ByteOrder
Runtime byte order selector.
TranscodeStatus
Reports why a crate::Transcoder stopped converting input.

Traits§

ByteOrderSpec
Describes a type-level byte order.
Codec
Encodes and decodes one value or codec quantum against a unit buffer.
Decoder
Decodes a borrowed input value into an owned representation.
Encoder
Encodes a borrowed input value into an owned representation.
Transcoder
Converts one logical stream of input units into one logical stream of output units.