public class FileReaderSync
extends com.google.gwt.core.client.JavaScriptObject
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.Modifier | Constructor and Description |
---|---|
protected |
FileReaderSync() |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.typedarrays.shared.ArrayBuffer |
readAsArrayBuffer(Blob fileBlob) |
String |
readAsBinaryString(Blob fileBlob) |
String |
readAsDataURL(Blob fileBlob) |
String |
readAsText(Blob fileBlob) |
String |
readAsText(Blob fileBlob,
String encoding) |
public final com.google.gwt.typedarrays.shared.ArrayBuffer readAsArrayBuffer(Blob fileBlob)
Copyright © 2017. All Rights Reserved.