Haxe API Documentation
Back | Index
extern class js.html.FileReaderSync
Available in 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.
function new() : Void
function readAsArrayBuffer(blob : Blob) : ArrayBuffer
function readAsBinaryString(blob : Blob) : String
function readAsDataURL(blob : Blob) : String
function readAsText(blob : Blob, ?encoding : String) : String
Back | Index