Skip to main content

Base64

Helper functions having to do with Base64.

Functions

decodeBase64()

function decodeBase64(base64String): string

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

Parameters

ParameterType
base64Stringstring

Returns

string

Defined in

packages/complete-node/src/functions/base64.ts:10


encodeBase64()

function encodeBase64(string): string

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

Parameters

ParameterType
stringstring

Returns

string

Defined in

packages/complete-node/src/functions/base64.ts:16