Package | Description |
---|---|
com.google.gwt.typedarrays.client | |
com.google.gwt.typedarrays.server | |
com.google.gwt.typedarrays.shared | |
com.google.gwt.xhr.client |
Classes to support Javascript's XMLHttpRequest.
|
Modifier and Type | Class and Description |
---|---|
class |
ArrayBufferNative
JS native implementation of
ArrayBuffer . |
Modifier and Type | Field and Description |
---|---|
protected ArrayBuffer |
DataViewNativeEmul.buffer |
Modifier and Type | Method and Description |
---|---|
static ArrayBuffer |
JsUtils.arrayBufferFromString(String str)
Creates an
ArrayBuffer from a string, with bytes encoded as
individual characters (which means in UTF8-encoded strings, byte
values 0x80-0xFF take two bytes. |
ArrayBuffer |
DataViewNativeEmul.buffer() |
ArrayBuffer |
Uint8ClampedArrayNativeEmul.buffer() |
ArrayBuffer |
ArrayBufferViewNative.buffer() |
ArrayBuffer |
NativeImpl.createArrayBuffer(int length) |
ArrayBuffer |
NoSupportImpl.createArrayBuffer(int length) |
Modifier and Type | Method and Description |
---|---|
static Uint16ArrayNative |
Uint16ArrayNative.create(ArrayBuffer buffer) |
static DataView |
DataViewNative.create(ArrayBuffer buffer) |
static Int16ArrayNative |
Int16ArrayNative.create(ArrayBuffer buffer) |
static Float64ArrayNative |
Float64ArrayNative.create(ArrayBuffer buffer) |
static Int8ArrayNative |
Int8ArrayNative.create(ArrayBuffer buffer) |
static Uint32ArrayNative |
Uint32ArrayNative.create(ArrayBuffer buffer) |
static Uint8ArrayNative |
Uint8ArrayNative.create(ArrayBuffer buffer)
Create a
Uint8Array instance. |
static Float32ArrayNative |
Float32ArrayNative.create(ArrayBuffer buffer) |
static Int32ArrayNative |
Int32ArrayNative.create(ArrayBuffer buffer) |
static Uint16ArrayNative |
Uint16ArrayNative.create(ArrayBuffer buffer,
int byteOffset) |
static DataView |
DataViewNative.create(ArrayBuffer buffer,
int byteOffset) |
static Int16ArrayNative |
Int16ArrayNative.create(ArrayBuffer buffer,
int byteOffset) |
static Float64ArrayNative |
Float64ArrayNative.create(ArrayBuffer buffer,
int byteOffset) |
static Int8ArrayNative |
Int8ArrayNative.create(ArrayBuffer buffer,
int byteOffset) |
static Uint32ArrayNative |
Uint32ArrayNative.create(ArrayBuffer buffer,
int byteOffset) |
static Uint8ArrayNative |
Uint8ArrayNative.create(ArrayBuffer buffer,
int byteOffset)
Create a
Uint8Array instance. |
static Float32ArrayNative |
Float32ArrayNative.create(ArrayBuffer buffer,
int byteOffset) |
static Int32ArrayNative |
Int32ArrayNative.create(ArrayBuffer buffer,
int byteOffset) |
static Uint16ArrayNative |
Uint16ArrayNative.create(ArrayBuffer buffer,
int byteOffset,
int length) |
static DataView |
DataViewNative.create(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
static Int16ArrayNative |
Int16ArrayNative.create(ArrayBuffer buffer,
int byteOffset,
int length) |
static Float64ArrayNative |
Float64ArrayNative.create(ArrayBuffer buffer,
int byteOffset,
int length) |
static Int8ArrayNative |
Int8ArrayNative.create(ArrayBuffer buffer,
int byteOffset,
int length) |
static Uint32ArrayNative |
Uint32ArrayNative.create(ArrayBuffer buffer,
int byteOffset,
int length) |
static DataView |
DataViewNativeEmul.create(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
static Uint8ArrayNative |
Uint8ArrayNative.create(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Uint8Array instance. |
static Uint8ClampedArray |
Uint8ClampedArrayNativeEmul.create(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Uint8ClampedArray instance on an existing
ArrayBuffer . |
static Float32ArrayNative |
Float32ArrayNative.create(ArrayBuffer buffer,
int byteOffset,
int length) |
static Int32ArrayNative |
Int32ArrayNative.create(ArrayBuffer buffer,
int byteOffset,
int length) |
static Uint8ArrayNative |
Uint8ArrayNative.createClamped(ArrayBuffer buffer)
Create a
Uint8ClampedArray instance. |
static Uint8ArrayNative |
Uint8ArrayNative.createClamped(ArrayBuffer buffer,
int byteOffset)
Create a
Uint8ClampedArray instance. |
static Uint8ArrayNative |
Uint8ArrayNative.createClamped(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Uint8ClampedArray instance. |
DataView |
NativeImpl.createDataView(ArrayBuffer buffer) |
DataView |
NativeImpl.createDataView(ArrayBuffer buffer,
int byteOffset) |
DataView |
NativeImpl.createDataView(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
DataView |
NoSupportImpl.createDataView(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
Float32ArrayNative |
NativeImpl.createFloat32Array(ArrayBuffer buffer) |
Float32ArrayNative |
NativeImpl.createFloat32Array(ArrayBuffer buffer,
int byteOffset) |
Float32ArrayNative |
NativeImpl.createFloat32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Float32Array |
NoSupportImpl.createFloat32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Float64ArrayNative |
NativeImpl.createFloat64Array(ArrayBuffer buffer) |
Float64ArrayNative |
NativeImpl.createFloat64Array(ArrayBuffer buffer,
int byteOffset) |
Float64ArrayNative |
NativeImpl.createFloat64Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Float64Array |
NoSupportImpl.createFloat64Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Int16ArrayNative |
NativeImpl.createInt16Array(ArrayBuffer buffer) |
Int16ArrayNative |
NativeImpl.createInt16Array(ArrayBuffer buffer,
int byteOffset) |
Int16ArrayNative |
NativeImpl.createInt16Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Int16Array |
NoSupportImpl.createInt16Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Int32ArrayNative |
NativeImpl.createInt32Array(ArrayBuffer buffer) |
Int32ArrayNative |
NativeImpl.createInt32Array(ArrayBuffer buffer,
int byteOffset) |
Int32ArrayNative |
NativeImpl.createInt32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Int32Array |
NoSupportImpl.createInt32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Int8ArrayNative |
NativeImpl.createInt8Array(ArrayBuffer buffer) |
Int8ArrayNative |
NativeImpl.createInt8Array(ArrayBuffer buffer,
int byteOffset) |
Int8ArrayNative |
NativeImpl.createInt8Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Int8Array |
NoSupportImpl.createInt8Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint16ArrayNative |
NativeImpl.createUint16Array(ArrayBuffer buffer) |
Uint16ArrayNative |
NativeImpl.createUint16Array(ArrayBuffer buffer,
int byteOffset) |
Uint16ArrayNative |
NativeImpl.createUint16Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint16Array |
NoSupportImpl.createUint16Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint32ArrayNative |
NativeImpl.createUint32Array(ArrayBuffer buffer) |
Uint32ArrayNative |
NativeImpl.createUint32Array(ArrayBuffer buffer,
int byteOffset) |
Uint32ArrayNative |
NativeImpl.createUint32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint32Array |
NoSupportImpl.createUint32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint8ArrayNative |
NativeImpl.createUint8Array(ArrayBuffer buffer) |
Uint8ArrayNative |
NativeImpl.createUint8Array(ArrayBuffer buffer,
int byteOffset) |
Uint8ArrayNative |
NativeImpl.createUint8Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint8Array |
NoSupportImpl.createUint8Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint8ClampedArray |
NativeImpl.createUint8ClampedArray(ArrayBuffer buffer) |
Uint8ClampedArray |
NativeImpl.createUint8ClampedArray(ArrayBuffer buffer,
int byteOffset) |
Uint8ClampedArray |
NativeImpl.createUint8ClampedArray(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint8ClampedArray |
NoSupportImpl.createUint8ClampedArray(ArrayBuffer buffer,
int byteOffset,
int length) |
static String |
JsUtils.stringFromArrayBuffer(ArrayBuffer buf)
Creates a string from an
ArrayBuffer , with bytes encoded as
individual characters (which means in UTF8-encoded strings, byte
values 0x80-0xFF take two bytes. |
Constructor and Description |
---|
DataViewNativeEmul(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
Uint8ClampedArrayNativeEmul(ArrayBuffer buffer,
int byteOffset,
int length)
Internal constructor for creating an
Uint8ClampedArrayNativeEmul
on an existing ArrayBuffer instance. |
Modifier and Type | Class and Description |
---|---|
class |
ArrayBufferImpl
Pure Java implementation of
ArrayBuffer , plus package-protected methods
for use by related implementation classes. |
Modifier and Type | Method and Description |
---|---|
ArrayBuffer |
ArrayBufferViewImpl.buffer() |
ArrayBuffer |
JavaImpl.createArrayBuffer(int length) |
Modifier and Type | Method and Description |
---|---|
DataView |
JavaImpl.createDataView(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
Float32Array |
JavaImpl.createFloat32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Float64Array |
JavaImpl.createFloat64Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Int16Array |
JavaImpl.createInt16Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Int32Array |
JavaImpl.createInt32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Int8Array |
JavaImpl.createInt8Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint16Array |
JavaImpl.createUint16Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint32Array |
JavaImpl.createUint32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint8Array |
JavaImpl.createUint8Array(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint8ClampedArray |
JavaImpl.createUint8ClampedArray(ArrayBuffer buffer,
int byteOffset,
int length) |
Constructor and Description |
---|
ArrayBufferViewImpl(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
DataViewImpl(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
Float32ArrayImpl(ArrayBuffer buffer,
int byteOffset,
int length) |
Float64ArrayImpl(ArrayBuffer buffer,
int byteOffset,
int length) |
Int16ArrayImpl(ArrayBuffer buffer,
int byteOffset,
int length) |
Int32ArrayImpl(ArrayBuffer buffer,
int byteOffset,
int length) |
Int8ArrayImpl(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
Uint16ArrayImpl(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint32ArrayImpl(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint8ArrayImpl(ArrayBuffer buffer,
int byteOffset,
int length) |
Uint8ClampedArrayImpl(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
Modifier and Type | Method and Description |
---|---|
ArrayBuffer |
ArrayBufferView.buffer()
Get the underlying
ArrayBuffer . |
static ArrayBuffer |
TypedArrays.createArrayBuffer(int length)
Create a new
ArrayBuffer of length bytes. |
abstract ArrayBuffer |
TypedArrays.Impl.createArrayBuffer(int length) |
Modifier and Type | Method and Description |
---|---|
static DataView |
TypedArrays.createDataView(ArrayBuffer buffer)
Create a new
DataView instance on an ArrayBuffer . |
DataView |
TypedArrays.Impl.createDataView(ArrayBuffer buffer) |
static DataView |
TypedArrays.createDataView(ArrayBuffer buffer,
int byteOffset)
|
DataView |
TypedArrays.Impl.createDataView(ArrayBuffer buffer,
int offset) |
static DataView |
TypedArrays.createDataView(ArrayBuffer buffer,
int byteOffset,
int byteLength)
Create a new
DataView instance on an ArrayBuffer , starting
at an offset of byteOffset and continuing for length
bytes. |
abstract DataView |
TypedArrays.Impl.createDataView(ArrayBuffer buffer,
int byteOffset,
int byteLength) |
static Float32Array |
TypedArrays.createFloat32Array(ArrayBuffer buffer)
Create a
Float32Array instance on buffer , starting at
starting at the beginning of the buffer and continuing to the end (which
must be an integral number of elements). |
Float32Array |
TypedArrays.Impl.createFloat32Array(ArrayBuffer buffer) |
static Float32Array |
TypedArrays.createFloat32Array(ArrayBuffer buffer,
int byteOffset)
Create a
Float32Array instance on buffer , starting at
byteOffset into the buffer, continuing to the end of the buffer
(which must be an integral number of elements). |
Float32Array |
TypedArrays.Impl.createFloat32Array(ArrayBuffer buffer,
int byteOffset) |
static Float32Array |
TypedArrays.createFloat32Array(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Float32Array instance on buffer , starting at
byteOffset into the buffer, continuing for length
elements. |
abstract Float32Array |
TypedArrays.Impl.createFloat32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
static Float64Array |
TypedArrays.createFloat64Array(ArrayBuffer buffer)
Create a
Float64Array instance on buffer , starting at
starting at the beginning of the buffer and continuing to the end (which
must be an integral number of elements). |
Float64Array |
TypedArrays.Impl.createFloat64Array(ArrayBuffer buffer) |
static Float64Array |
TypedArrays.createFloat64Array(ArrayBuffer buffer,
int byteOffset)
Create a
Float64Array instance on buffer , starting at
byteOffset into the buffer, continuing to the end of the buffer
(which must be an integral number of elements). |
Float64Array |
TypedArrays.Impl.createFloat64Array(ArrayBuffer buffer,
int byteOffset) |
static Float64Array |
TypedArrays.createFloat64Array(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Float64Array instance on buffer , starting at
byteOffset into the buffer, continuing for length
elements. |
abstract Float64Array |
TypedArrays.Impl.createFloat64Array(ArrayBuffer buffer,
int byteOffset,
int length) |
static Int16Array |
TypedArrays.createInt16Array(ArrayBuffer buffer)
Create a
Int16Array instance on buffer , starting at
starting at the beginning of the buffer and continuing to the end (which
must be an integral number of elements). |
Int16Array |
TypedArrays.Impl.createInt16Array(ArrayBuffer buffer) |
static Int16Array |
TypedArrays.createInt16Array(ArrayBuffer buffer,
int byteOffset)
Create a
Int16Array instance on buffer , starting at
byteOffset into the buffer, continuing to the end of the buffer
(which must be an integral number of elements). |
Int16Array |
TypedArrays.Impl.createInt16Array(ArrayBuffer buffer,
int byteOffset) |
static Int16Array |
TypedArrays.createInt16Array(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Int16Array instance on buffer , starting at
byteOffset into the buffer, continuing for length
elements. |
abstract Int16Array |
TypedArrays.Impl.createInt16Array(ArrayBuffer buffer,
int byteOffset,
int length) |
static Int32Array |
TypedArrays.createInt32Array(ArrayBuffer buffer)
Create a
Int32Array instance on buffer , starting at
starting at the beginning of the buffer and continuing to the end (which
must be an integral number of elements). |
Int32Array |
TypedArrays.Impl.createInt32Array(ArrayBuffer buffer) |
static Int32Array |
TypedArrays.createInt32Array(ArrayBuffer buffer,
int byteOffset)
Create a
Int32Array instance on buffer , starting at
byteOffset into the buffer, continuing to the end of the buffer
(which must be an integral number of elements). |
Int32Array |
TypedArrays.Impl.createInt32Array(ArrayBuffer buffer,
int byteOffset) |
static Int32Array |
TypedArrays.createInt32Array(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Int32Array instance on buffer , starting at
byteOffset into the buffer, continuing for length
elements. |
abstract Int32Array |
TypedArrays.Impl.createInt32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
static Int8Array |
TypedArrays.createInt8Array(ArrayBuffer buffer)
Create a
Int8Array instance on buffer , starting at
starting at the beginning of the buffer and continuing to the end. |
Int8Array |
TypedArrays.Impl.createInt8Array(ArrayBuffer buffer) |
static Int8Array |
TypedArrays.createInt8Array(ArrayBuffer buffer,
int byteOffset)
Create a
Int8Array instance on buffer , starting at
byteOffset into the buffer, continuing to the end of the buffer
(which must be an integral number of elements). |
Int8Array |
TypedArrays.Impl.createInt8Array(ArrayBuffer buffer,
int byteOffset) |
static Int8Array |
TypedArrays.createInt8Array(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Int8Array instance on buffer , starting at
byteOffset into the buffer, continuing for length
elements. |
abstract Int8Array |
TypedArrays.Impl.createInt8Array(ArrayBuffer buffer,
int byteOffset,
int length) |
static Uint16Array |
TypedArrays.createUint16Array(ArrayBuffer buffer)
Create a
Uint16Array instance on buffer , starting at
starting at the beginning of the buffer and continuing to the end (which
must be an integral number of elements). |
Uint16Array |
TypedArrays.Impl.createUint16Array(ArrayBuffer buffer) |
static Uint16Array |
TypedArrays.createUint16Array(ArrayBuffer buffer,
int byteOffset)
Create a
Uint16Array instance on buffer , starting at
byteOffset into the buffer, continuing to the end of the buffer
(which must be an integral number of elements). |
Uint16Array |
TypedArrays.Impl.createUint16Array(ArrayBuffer buffer,
int byteOffset) |
static Uint16Array |
TypedArrays.createUint16Array(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Uint16Array instance on buffer , starting at
byteOffset into the buffer, continuing for length
elements. |
abstract Uint16Array |
TypedArrays.Impl.createUint16Array(ArrayBuffer buffer,
int byteOffset,
int length) |
static Uint32Array |
TypedArrays.createUint32Array(ArrayBuffer buffer)
Create a
Uint32Array instance on buffer , starting at
starting at the beginning of the buffer and continuing to the end (which
must be an integral number of elements). |
Uint32Array |
TypedArrays.Impl.createUint32Array(ArrayBuffer buffer) |
static Uint32Array |
TypedArrays.createUint32Array(ArrayBuffer buffer,
int byteOffset)
Create a
Uint32Array instance on buffer , starting at
byteOffset into the buffer, continuing to the end of the buffer
(which must be an integral number of elements). |
Uint32Array |
TypedArrays.Impl.createUint32Array(ArrayBuffer buffer,
int byteOffset) |
static Uint32Array |
TypedArrays.createUint32Array(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Uint32Array instance on buffer , starting at
byteOffset into the buffer, continuing for length
elements. |
abstract Uint32Array |
TypedArrays.Impl.createUint32Array(ArrayBuffer buffer,
int byteOffset,
int length) |
static Uint8Array |
TypedArrays.createUint8Array(ArrayBuffer buffer)
Create a
Uint8Array instance on buffer , starting at
starting at the beginning of the buffer and continuing to the end (which
must be an integral number of elements). |
Uint8Array |
TypedArrays.Impl.createUint8Array(ArrayBuffer buffer) |
static Uint8Array |
TypedArrays.createUint8Array(ArrayBuffer buffer,
int byteOffset)
Create a
Uint8Array instance on buffer , starting at
byteOffset into the buffer, continuing to the end of the buffer. |
Uint8Array |
TypedArrays.Impl.createUint8Array(ArrayBuffer buffer,
int byteOffset) |
static Uint8Array |
TypedArrays.createUint8Array(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Uint8Array instance on buffer , starting at
byteOffset into the buffer, continuing for length
elements. |
abstract Uint8Array |
TypedArrays.Impl.createUint8Array(ArrayBuffer buffer,
int byteOffset,
int length) |
static Uint8ClampedArray |
TypedArrays.createUint8ClampedArray(ArrayBuffer buffer)
Create a
Uint8ClampedArray instance on buffer , starting at
starting at the beginning of the buffer and continuing to the end. |
Uint8ClampedArray |
TypedArrays.Impl.createUint8ClampedArray(ArrayBuffer buffer) |
static Uint8ClampedArray |
TypedArrays.createUint8ClampedArray(ArrayBuffer buffer,
int byteOffset)
Create a
Uint8ClampedArray instance on buffer , starting at
byteOffset into the buffer, continuing to the end of the buffer. |
Uint8ClampedArray |
TypedArrays.Impl.createUint8ClampedArray(ArrayBuffer buffer,
int byteOffset) |
static Uint8ClampedArray |
TypedArrays.createUint8ClampedArray(ArrayBuffer buffer,
int byteOffset,
int length)
Create a
Uint8ClampedArray instance on buffer , starting at
byteOffset into the buffer, continuing for length
elements. |
abstract Uint8ClampedArray |
TypedArrays.Impl.createUint8ClampedArray(ArrayBuffer buffer,
int byteOffset,
int length) |
Modifier and Type | Method and Description |
---|---|
ArrayBuffer |
XMLHttpRequest.getResponseArrayBuffer()
Get the response as an
ArrayBuffer . |
Copyright © 2018. All rights reserved.