base64

Contains base64 encoding and decoding functions

Constants

BASE64_URL_SAFE : number = 8

Url safe encoding output

Functions

base64decode(data, type = 0) — decodes base64-encoded byte array or string into byte array

base64encode(data, type = 0) — encodes byte array or string into base64-encoded byte array

base64encodeToString(data, type = 0) — encodes byte array or string into base64-encoded string