Function encodeBase64

  • Encode a typed array of uint8 as base64.

    Parameters

    • uint8Array: Uint8Array<ArrayBufferLike>

      The data to encode.

    Returns string

    The base64.