Skip to main content

Crate qubit_codec_misc

Crate qubit_codec_misc 

Source
Expand description

§qubit-codec-misc

Reusable byte and text codecs for Rust applications.

This crate focuses on stable textual encodings such as hexadecimal, Base64, percent encoding, and application/x-www-form-urlencoded strings.

Structs§

Base64Codec
Encodes and decodes Base64 byte strings.
Base64QuantumCodec
Encodes and decodes one complete Base64 quantum.
CIntegerLiteralCodec
Decodes non-negative C integer literal fragments.
CStringLiteralCodec
Encodes and decodes byte-oriented C string literal fragments.
FormUrlencodedCodec
Encodes and decodes application/x-www-form-urlencoded text fragments.
HexCodec
Encodes and decodes hexadecimal byte strings.
PercentCodec
Encodes and decodes percent-encoded UTF-8 text.
TranscodeProgress
Counts how much work a crate::BufferedTranscoder completed before returning.

Enums§

MiscCodecError
Error returned by codec operations.
TranscodeStatus
Reports why a crate::BufferedTranscoder stopped converting input.

Traits§

BufferedTranscoder
Converts one logical stream of input units into one logical stream of output units.
Codec
Encodes and decodes one value or codec quantum against a unit buffer.
ValueDecoder
Decodes a borrowed input value into an owned representation.
ValueEncoder
Encodes a borrowed input value into an owned representation.

Type Aliases§

MiscCodecResult
Result alias returned by codec operations.