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 also:
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–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/FileReaderSync.html