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
Parameter | Type |
---|---|
base64String | string |
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
Parameter | Type |
---|---|
string | string |
Returns
string