@JsType(isNative=true, namespace="<global>", name="Blob") public class JsBlob extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JsBlob.JsObjectOptions |
Constructor and Description |
---|
JsBlob(JsObject[] array) |
JsBlob(JsObject[] array,
JsBlob.JsObjectOptions options) |
Modifier and Type | Method and Description |
---|---|
com.google.gwt.typedarrays.shared.ArrayBuffer |
arrayBuffer()
Transforms the Blob into a stream and reads it to completion.
|
int |
size()
The size, in bytes, of the data contained in the Blob object.
|
String |
text()
Transforms the Blob into a stream and reads it to completion.
|
String |
type()
A string indicating the MIME type of the data contained in the Blob.
|
@JsConstructor public JsBlob(JsObject[] array)
@JsConstructor public JsBlob(JsObject[] array, JsBlob.JsObjectOptions options)
@JsProperty(name="size") public int size()
@JsProperty(name="type") public String type()
@JsMethod public String text()
@JsMethod public com.google.gwt.typedarrays.shared.ArrayBuffer arrayBuffer()
Copyright © 2019. All rights reserved.