Base64Decode class

Class which exposes APIs to decode base64 strings to plaintext. See here for implementation details: https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#Solution_2_%E2%80%93_JavaScript's_UTF-16_%3E_UTF-8_%3E_base64

Methods

decode(string)

Returns a URL-safe plaintext decoded string from b64 encoded input.

Method Details

decode(string)

Returns a URL-safe plaintext decoded string from b64 encoded input.

function decode(input: string): string

Parameters

input

string

Returns

string