Skip to main content

Module blob

Module blob 

Source
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::Bytes as a base64 string.