Skip to content

std::encoding::base64

Status: experimental

RFC 4648 base64 encode/decode.

API details and source

The implementation source contains the complete declarations and implementation notes. The table below lists canonical Gossamer call signatures; every item name links directly to its implementation file.

Item Canonical signature or declaration Description
decode fn decode(text: String) -> Result<Vec<u8>, errors::Error> Decodes a base64 string.
encode fn encode(data: Vec<u8>) -> String Encodes bytes to a base64 string.