Skip to main content

Function: base64DecodeAsync()

function base64DecodeAsync(base64): Promise<ArrayBuffer>;

Decodes a base64 string into binary data.

Parameters​

ParameterTypeDescription
base64stringThe base64 string to decode.

Returns​

Promise<ArrayBuffer>

A promise that resolves to the decoded binary data.