API

Function EncodeArrayBufferToBase64

  • Encode a buffer to a base64 string

    Parameters

    • buffer: ArrayBuffer | ArrayBufferView<ArrayBufferLike>

      defines the buffer to encode

    Returns string

    the encoded string