Skip to main content
Version: v4.24

decode_base64

Decodes bytes as Base64.

decode_base64(bytes: blob|string) -> blob

Description

Decodes bytes as Base64.

bytes: blob|string

The value to decode as Base64.

Examples

Decode a Base64 encoded string

from {bytes: "VGVuemly"}
decoded = bytes.decode_base64()
{bytes: "VGVuemly", decoded: "Tenzir"}

See Also

encode_base64