FileReaderSync

FileReaderSync

package js-html

Available on js

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

Documentation FileReaderSync by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new ()

Throws:

null DOMError

Methods

readAsArrayBuffer (blob:Blob):ArrayBuffer

Throws:

null DOMError

readAsBinaryString (blob:Blob):String

Throws:

null DOMError

readAsDataURL (blob:Blob):String

Throws:

null DOMError

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

Throws:

null DOMError

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/FileReaderSync.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部