base64

base64

base64
Provides base64 encode and decode, see RFC 2045.

Provides base64 encode and decode, see RFC 2045.

Types

Data = binary()
DataString = byte_string()

Decodes a base64-encoded string to plain ASCII. See RFC 4648.

mime_decode/1 and mime_decode_to_string/1 strip away illegal characters, while decode/1 and decode_to_string/1 only strip away whitespace characters.