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