base64

base64

Module

base64

Module summary

Implements base 64 encode and decode, see RFC2045.

Description

Implements base 64 encode and decode, see RFC2045.

Data types

ascii_string() = [1..255]

ascii_binary() = binary()

A binary() with ASCII characters in the range 1 to 255.

Exports

encode(Data) -> Base64encode_to_string(Data) -> Base64String

Types:

Data = ascii_string() | ascii_binary()
Base64 = ascii_binary()
Base64String = ascii_string()

Encodes a plain ASCII string into base64. The result will be 33% larg