value.
Parameters
Returns
Uint8Array
The decoded binary data.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
function decodeBase64(value): Uint8Array
value.
| Parameter | Type | Description |
|---|---|---|
value | string | The base-64 encoded value. |
Uint8Array
The decoded binary data.
// 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?
