IBM Aspera JavaScript Library
    Preparing search index...

    Function readAsArrayBuffer

    • Read an entire file as an array buffer (base64-encoded).

      Note: The maximum file size allowed is 50 MiB.

      Parameters

      • path: string

        path to the file to read

      Returns Promise<ReadAsArrayBufferResponse>

      a promise that resolves with the file data as a base64-encoded string and mime type