readAsArrayBuffer method

JSArrayBuffer readAsArrayBuffer(
  1. Blob blob
)

The readAsArrayBuffer() method of the FileReaderSync interface allows to read File or Blob objects in a synchronous way into an ArrayBuffer. This interface is only available in workers as it enables synchronous I/O that could potentially block.

Implementation

external JSArrayBuffer readAsArrayBuffer(Blob blob);