Skip to main content

Crate qubit_codec

Crate qubit_codec 

Source
Expand description

§qubit-codec

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.
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.

Enums§

CodecError
Error returned by codec operations.

Traits§

Codec
Combines an Encoder and a Decoder into a bidirectional codec.
Decoder
Decodes a borrowed input value into another representation.
Encoder
Encodes a borrowed input value into another representation.

Type Aliases§

CodecResult
Result alias returned by codec operations.