FileReader
Overview
The FileReader object lets web applications asynchronously read the contents of files (or raw data buffers) stored on the user's computer, using File or Blob objects to specify the file or data to read.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.WebAssembly.DOM
- Platforms: WebAssembly
error
property error: DOMException read;
DOMException error { get; }
var error: DOMException { get{} }
DOMException error { __get; }
ReadOnly Property error() As DOMException
onabort
property onabort: EventListener read write;
EventListener onabort { get; set; }
var onabort: EventListener { get{} set{} }
EventListener onabort { __get; __set; }
Property onabort() As EventListener
onerror
property onerror: EventListener read write;
EventListener onerror { get; set; }
var onerror: EventListener { get{} set{} }
EventListener onerror { __get; __set; }
Property onerror() As EventListener
onload
property onload: EventListener read write;
EventListener onload { get; set; }
var onload: EventListener { get{} set{} }
EventListener onload { __get; __set; }
Property onload() As EventListener
onloadend
property onloadend: EventListener read write;
EventListener onloadend { get; set; }
var onloadend: EventListener { get{} set{} }
EventListener onloadend { __get; __set; }
Property onloadend() As EventListener
onloadstart
property onloadstart: EventListener read write;
EventListener onloadstart { get; set; }
var onloadstart: EventListener { get{} set{} }
EventListener onloadstart { __get; __set; }
Property onloadstart() As EventListener
onprogress
property onprogress: EventListener read write;
EventListener onprogress { get; set; }
var onprogress: EventListener { get{} set{} }
EventListener onprogress { __get; __set; }
Property onprogress() As EventListener
readAsArrayBuffer
Starts reading the contents of the specified Blob, once finished, the result attribute contains an ArrayBuffer representing the file's data.
method readAsArrayBuffer(parblob: dynamic): array of Byte
Byte[] readAsArrayBuffer(dynamic parblob)
func readAsArrayBuffer(_ parblob: dynamic) -> Byte...
Byte[] readAsArrayBuffer(dynamic parblob)
Function readAsArrayBuffer(parblob As dynamic) As Byte()
Parameters:
- parblob:
readAsBinaryString
Starts reading the contents of the specified Blob, once finished, the result attribute contains the raw binary data from the file as a string.
method readAsBinaryString(parblob: dynamic): String
String readAsBinaryString(dynamic parblob)
func readAsBinaryString(_ parblob: dynamic) -> String
String readAsBinaryString(dynamic parblob)
Function readAsBinaryString(parblob As dynamic) As String
Parameters:
- parblob:
readAsDataURL
Starts reading the contents of the specified Blob, once finished, the result attribute contains a data: URL representing the file's data.
method readAsDataURL(parblob: dynamic): String
String readAsDataURL(dynamic parblob)
func readAsDataURL(_ parblob: dynamic) -> String
String readAsDataURL(dynamic parblob)
Function readAsDataURL(parblob As dynamic) As String
Parameters:
- parblob:
readyState
property readyState: Double read;
Double readyState { get; }
var readyState: Double { get{} }
Double readyState { __get; }
ReadOnly Property readyState() As Double
result
error
property error: DOMException read;
DOMException error { get; }
var error: DOMException { get{} }
DOMException error { __get; }
ReadOnly Property error() As DOMException
onabort
property onabort: EventListener read write;
EventListener onabort { get; set; }
var onabort: EventListener { get{} set{} }
EventListener onabort { __get; __set; }
Property onabort() As EventListener
onerror
property onerror: EventListener read write;
EventListener onerror { get; set; }
var onerror: EventListener { get{} set{} }
EventListener onerror { __get; __set; }
Property onerror() As EventListener
onload
property onload: EventListener read write;
EventListener onload { get; set; }
var onload: EventListener { get{} set{} }
EventListener onload { __get; __set; }
Property onload() As EventListener
onloadend
property onloadend: EventListener read write;
EventListener onloadend { get; set; }
var onloadend: EventListener { get{} set{} }
EventListener onloadend { __get; __set; }
Property onloadend() As EventListener
onloadstart
property onloadstart: EventListener read write;
EventListener onloadstart { get; set; }
var onloadstart: EventListener { get{} set{} }
EventListener onloadstart { __get; __set; }
Property onloadstart() As EventListener
onprogress
property onprogress: EventListener read write;
EventListener onprogress { get; set; }
var onprogress: EventListener { get{} set{} }
EventListener onprogress { __get; __set; }
Property onprogress() As EventListener
readyState
property readyState: Double read;
Double readyState { get; }
var readyState: Double { get{} }
Double readyState { __get; }
ReadOnly Property readyState() As Double
result
readAsArrayBuffer
Starts reading the contents of the specified Blob, once finished, the result attribute contains an ArrayBuffer representing the file's data.
method readAsArrayBuffer(parblob: dynamic): array of Byte
Byte[] readAsArrayBuffer(dynamic parblob)
func readAsArrayBuffer(_ parblob: dynamic) -> Byte...
Byte[] readAsArrayBuffer(dynamic parblob)
Function readAsArrayBuffer(parblob As dynamic) As Byte()
Parameters:
- parblob:
readAsBinaryString
Starts reading the contents of the specified Blob, once finished, the result attribute contains the raw binary data from the file as a string.
method readAsBinaryString(parblob: dynamic): String
String readAsBinaryString(dynamic parblob)
func readAsBinaryString(_ parblob: dynamic) -> String
String readAsBinaryString(dynamic parblob)
Function readAsBinaryString(parblob As dynamic) As String
Parameters:
- parblob:
readAsDataURL
Starts reading the contents of the specified Blob, once finished, the result attribute contains a data: URL representing the file's data.
method readAsDataURL(parblob: dynamic): String
String readAsDataURL(dynamic parblob)
func readAsDataURL(_ parblob: dynamic) -> String
String readAsDataURL(dynamic parblob)
Function readAsDataURL(parblob As dynamic) As String
Parameters:
- parblob: