Class Int8ArrayNative
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.typedarrays.client.ArrayBufferViewNative
com.google.gwt.typedarrays.client.Int8ArrayNative
-
Field Summary
Fields inherited from interface com.google.gwt.typedarrays.shared.Int8Array
BYTES_PER_ELEMENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Int8ArrayNativecreate(int length) static Int8ArrayNativecreate(ArrayBuffer buffer) static Int8ArrayNativecreate(ArrayBuffer buffer, int byteOffset) static Int8ArrayNativecreate(ArrayBuffer buffer, int byteOffset, int length) byteget(int index) Retrieve one element of this view.intlength()The length in elements of this view.voidset(byte[] array) Set multiple elements in this view from an array, storing starting at 0.voidset(byte[] array, int offset) Set multiple elements in this view from an array, storing starting at the requested offset.voidset(int[] array) Set multiple elements in this view from an array, storing starting at 0.voidset(int[] array, int offset) Set multiple elements in this view from an array, storing starting at the requested offset.voidset(int index, int value) Set one element in this view.voidSet multiple elements in this view from another view, storing starting at 0.voidSet multiple elements in this view from another view, storing starting at the requested offset.subarray(int begin) Create a new view from the same array, fromoffsetto the end of this view.subarray(int begin, int end) Create a new view from the same array, fromoffsetto (but not including)endin this view.Methods inherited from class com.google.gwt.typedarrays.client.ArrayBufferViewNative
buffer, byteLength, byteOffsetMethods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.gwt.typedarrays.shared.ArrayBufferView
buffer, byteLength, byteOffset
-
Constructor Details
-
Int8ArrayNative
protected Int8ArrayNative()
-
-
Method Details
-
create
- Parameters:
length-- Returns:
- a
Int8Arrayinstance
-
get
-
length
-
set
-
set
-
set
-
set
-
set
-
subarray
Description copied from interface:Int8ArrayCreate a new view from the same array, fromoffsetto the end of this view. These offset is clamped to legal indices into this view, so it is not an error to specify an invalid index. -
subarray
Description copied from interface:Int8ArrayCreate a new view from the same array, fromoffsetto (but not including)endin this view. These indices are clamped to legal indices into this view, so it is not an error to specify invalid indices.