Function base64ToBin

  • Convert a base64-encoded string to a Uint8Array.

    Note, this method always completes. If validBase64 is not valid base64, an incorrect result will be returned. If validBase64 is potentially malformed, check it with isBase64 before calling this method.

    For the reverse, see binToBase64.

    Parameters

    • validBase64: string

      a valid base64-encoded string to decode

    Returns Uint8Array

Generated using TypeDoc