readAsBinaryString method
@AvailableInWorkers("worker_except_service")
Note: This method is deprecated in favor of FileReaderSync.readAsArrayBuffer.
The readAsBinaryString()
method of the FileReaderSync interface
allows to read File or Blob objects in a synchronous way into a
string. This interface is
only available
in workers as
it enables synchronous I/O that could potentially block.
Implementation
external String readAsBinaryString(Blob blob);