Converts a base64 string to a Uint8Array in a browser-compatible way. Uses the atob() function available in both browsers and Node.js.
The base64 string to decode
The decoded bytes
Converts a base64 string to a Uint8Array in a browser-compatible way. Uses the atob() function available in both browsers and Node.js.