Decodes a standard Base64 string to a Uint8Array.
The Base64-encoded string.
The decoded byte array.
If the string is not valid Base64.
const bytes = fromBase64('3q2+7w==');// Uint8Array [ 0xde, 0xad, 0xbe, 0xef ] Copy
const bytes = fromBase64('3q2+7w==');// Uint8Array [ 0xde, 0xad, 0xbe, 0xef ]
Decodes a standard Base64 string to a Uint8Array.