Package org.teavm.jso.typedarrays
Class Int8Array
java.lang.Object
org.teavm.jso.typedarrays.ArrayBufferView
org.teavm.jso.typedarrays.TypedArray
org.teavm.jso.typedarrays.Int8Array
- All Implemented Interfaces:
org.teavm.jso.JSObject
-
Constructor Summary
ConstructorsConstructorDescriptionInt8Array(int length) Int8Array(ArrayBuffer buffer) Int8Array(ArrayBuffer buffer, int offset) Int8Array(ArrayBuffer buffer, int offset, int length) Int8Array(TypedArray buffer) -
Method Summary
Modifier and TypeMethodDescriptionstatic Int8ArraycopyFromJavaArray(byte[] array) byte[]static Int8Arraycreate(int length) Deprecated.static Int8Arraycreate(ArrayBuffer buffer) Deprecated.static Int8Arraycreate(ArrayBuffer buffer, int offset) Deprecated.static Int8Arraycreate(ArrayBuffer buffer, int offset, int length) Deprecated.static Int8Arraycreate(TypedArray buffer) Deprecated.static Int8ArrayfromJavaArray(byte[] array) static Int8ArrayfromJavaBuffer(Buffer buffer) byteget(int index) voidset(int index, byte value) byte[]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
-
Int8Array
public Int8Array(int length) -
Int8Array
-
Int8Array
-
Int8Array
-
Int8Array
-
-
Method Details
-
get
public byte get(int index) -
set
public void set(int index, byte value) -
create
Deprecated. -
create
Deprecated. -
create
Deprecated. -
create
Deprecated. -
create
Deprecated. -
fromJavaArray
-
fromJavaBuffer
-
copyFromJavaArray
-
copyToJavaArray
public byte[] copyToJavaArray() -
toJavaArray
public byte[] toJavaArray()
-