readAsArrayBuffer method
@AvailableInWorkers("worker_except_service")
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);