Expand description
§Overview
Base64 adapter for #[serde(with = ...)]. See serdapt for more
information on how to use such adapters.
The documentation for Base64 and Base64Array provides examples.
§Contribute
All contributions shall be licensed under the 0BSD license.
Structs§
- Base64
- Adapter to serialize bytes as a base64 string
- Base64
Array - Adapter to serialize a byte array as a base64 string
- Canonical
- Adapter argument to require canonical padding when decoding
- Ignore
- Adapter argument to ignore padding when decoding
- NoPadding
- Adapter argument to require no padding when decoding
- Standard
- Adapter argument to use the standard base64 alphabet
- UrlSafe
- Adapter argument to use the URL-safe base64 alphabet
Enums§
- Read
Padding Strategy - Ways to handle padding when decoding
Traits§
- Alphabet
- Defines a base64 alphabet
- Read
Padding - Defines how to handle padding when decoding
Type Aliases§
- StdBase64
- Adapter to serialize bytes as a base64 string using the standard alphabet
- StdBase64
Array - Adapter to serialize a byte array as a base64 string using the standard alphabet