function decodeBase64(value): Uint8Array
value
string
Uint8Array
// The decoded value is always binary data... result = decodeBase64('SGVsbG8gV29ybGQhIQ=='); // ...use toUtf8String to convert it to a string. toUtf8String(result); // Decoding binary data decodeBase64('EjQ=');
Was this page helpful?