Skip to main content

Base64

Helper functions having to do with Base64.

Functions

decodeBase64()

function decodeBase64(base64String): string

Defined in: functions/base64.ts:10

Helper function to decode a base64-encoded string to a utf8 string.

Parameters

ParameterType
base64Stringstring

Returns

string


encodeBase64()

function encodeBase64(string): string

Defined in: functions/base64.ts:16

Helper function to encode a string into a base64-encoded string.

Parameters

ParameterType
stringstring

Returns

string