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.
Base64Decoder
Decodes Base64 incrementally using a strict configuration.
Base64Encoder
Encodes bytes incrementally using a strict Base64 configuration.
Base64QuantumCodec
Encodes and decodes one complete Base64 quantum.
CIntegerLiteralCodec
Decodes restricted 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.
HexByteCodec
Encodes and decodes one byte as two ASCII hexadecimal units.
HexCodec
Encodes and decodes hexadecimal byte strings.
HexCodecConfig
Configuration shared by crate::HexCodec encoding and decoding operations.
PercentCodec
Encodes and decodes percent-encoded UTF-8 text.

Enums§

Base64ErrorKind
Structured category for an error reported by the Base64 dependency.
MiscCodecError
Error returned by codec operations when input cannot be encoded or decoded.

Type Aliases§

MiscCodecResult
Result alias returned by codec operations.