Function decodeBase64

  • Decode a base64 (or base64url) string to a typed array of uint8.

    Parameters

    • base64: string

      The base64 to decode.

    Returns Uint8Array

    The decoded data.