Package org.teavm.jso.typedarrays
Class Uint16Array
java.lang.Object
org.teavm.jso.typedarrays.ArrayBufferView
org.teavm.jso.typedarrays.TypedArray
org.teavm.jso.typedarrays.Uint16Array
- All Implemented Interfaces:
org.teavm.jso.JSObject
-
Constructor Summary
ConstructorsConstructorDescriptionUint16Array(int length) Uint16Array(ArrayBuffer buffer) Uint16Array(ArrayBuffer buffer, int offset) Uint16Array(ArrayBuffer buffer, int offset, int length) Uint16Array(TypedArray buffer) -
Method Summary
Modifier and TypeMethodDescriptionstatic Uint16ArraycopyFromJavaArray(char[] array) char[]static Uint16Arraycreate(int length) Deprecated.static Uint16Arraycreate(ArrayBuffer buffer) Deprecated.static Uint16Arraycreate(ArrayBuffer buffer, int offset) Deprecated.static Uint16Arraycreate(ArrayBuffer buffer, int offset, int length) Deprecated.static Uint16Arraycreate(TypedArray buffer) Deprecated.static Uint16ArrayfromJavaArray(char[] array) static Uint16ArrayfromJavaBuffer(Buffer buffer) intget(int index) voidset(int index, int value) char[]Methods inherited from class org.teavm.jso.typedarrays.ArrayBufferView
getBuffer, getByteLength, getByteOffset, getLength, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.teavm.jso.JSObject
cast
-
Constructor Details
-
Uint16Array
public Uint16Array(int length) -
Uint16Array
-
Uint16Array
-
Uint16Array
-
Uint16Array
-
-
Method Details
-
get
public int get(int index) -
set
public void set(int index, int value) -
create
Deprecated. -
create
Deprecated. -
create
Deprecated. -
create
Deprecated. -
create
Deprecated. -
fromJavaArray
-
fromJavaBuffer
-
copyFromJavaArray
-
copyToJavaArray
public char[] copyToJavaArray() -
toJavaArray
public char[] toJavaArray()
-