Function base64ToBytes

Decodes a Base64 encoded string to a Uint8Array. This function is isomorphic, providing an optimized path for Node.js and a universal fallback for browsers.

  • Parameters

    • base64: string

      The Base64 encoded string to decode.

    Returns Uint8Array

    A Uint8Array containing the decoded bytes.