Module system.serialization.base64

Base64 encoder/decoder

Index

Function

decode()

Decodes a Base64 string to binary.

encode()

Encodes a binary string into Base64.

API Reference

system.serialization.base64.encode(str: string): (result: string)

Encodes a binary string into Base64.

Parameters:

str (string) – The string to encode

Returns:

result (string) – The string’s representation in Base64

system.serialization.base64.decode(str: string): (result: string)

Decodes a Base64 string to binary.

Parameters:

str (string) – The Base64 to decode

Returns:

result (string) – The decoded data