class js.html.FileReaderSync

Available on js

The FileReaderSync interface allows to read File or Blob objects in a synchronous way.

This interface is only available in workers as it enables synchronous I/O that could potentially block.



Documentation for this class was provided by MDN.

Instance Fields

function new():Void

function readAsDataURL(blob:Blob):String

function readAsText(blob:Blob, ?encoding:String):String