Expand description
Base64 serde helpers for binary blob fields.
AWS KMS transmits binary data (ciphertext, plaintext, signatures, etc.)
as base64-encoded strings in JSON. This module provides custom serde
serializers/deserializers for bytes::Bytes that handle the base64 encoding.
Modules§
- option
- Serde helpers for
Option<bytes::Bytes>.
Functions§
- deserialize
- Deserialize a base64 string into
bytes::Bytes. - serialize
- Serialize
bytes::Bytesas a base64 string.