Package org.teavm.jso.typedarrays
Class DataView
java.lang.Object
org.teavm.jso.typedarrays.ArrayBufferView
org.teavm.jso.typedarrays.DataView
- All Implemented Interfaces:
org.teavm.jso.JSObject
-
Constructor Summary
ConstructorsConstructorDescriptionDataView(ArrayBuffer buffer) DataView(ArrayBuffer buffer, int offset) DataView(ArrayBuffer buffer, int offset, int length) -
Method Summary
Modifier and TypeMethodDescriptionstatic DataViewcreate(ArrayBuffer buffer) Deprecated.static DataViewcreate(ArrayBuffer buffer, int offset) Deprecated.static DataViewcreate(ArrayBuffer buffer, int offset, int length) Deprecated.static DataViewfromJavaBuffer(Buffer buffer) longgetBigInt64(int byteOffset) longgetBigInt64(int byteOffset, boolean littleEndian) longgetBigUint64(int byteOffset) longgetBigUint64(int byteOffset, boolean littleEndian) floatgetFloat32(int byteOffset) floatgetFloat32(int byteOffset, boolean littleEndian) doublegetFloat64(int byteOffset) doublegetFloat64(int byteOffset, boolean littleEndian) shortgetInt16(int byteOffset) shortgetInt16(int byteOffset, boolean littleEndian) intgetInt32(int byteOffset) intgetInt32(int byteOffset, boolean littleEndian) bytegetInt8(int byteOffset) intgetUint16(int byteOffset) intgetUint16(int byteOffset, boolean littleEndian) intgetUint32(int byteOffset) intgetUint32(int byteOffset, boolean littleEndian) shortgetUint8(int byteOffset) voidsetBigInt64(int byteOffset, long value) voidsetBigInt64(int byteOffset, long value, boolean littleEndian) voidsetBigUint64(int byteOffset, long value) voidsetBigUint64(int byteOffset, long value, boolean littleEndian) voidsetFloat32(int byteOffset, float value) voidsetFloat32(int byteOffset, float value, boolean littleEndian) voidsetFloat64(int byteOffset, double value) voidsetFloat64(int byteOffset, double value, boolean littleEndian) voidsetInt16(int byteOffset, int value) voidsetInt16(int byteOffset, int value, boolean littleEndian) voidsetInt32(int byteOffset, int value) voidsetInt32(int byteOffset, int value, boolean littleEndian) voidsetInt8(int byteOffset, int value) voidsetUint16(int byteOffset, int value) voidsetUint16(int byteOffset, int value, boolean littleEndian) voidsetUint32(int byteOffset, int value) voidsetUint32(int byteOffset, int value, boolean littleEndian) voidsetUint8(int byteOffset, int value) 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
-
DataView
-
DataView
-
DataView
-
-
Method Details
-
getInt8
public byte getInt8(int byteOffset) -
getUint8
public short getUint8(int byteOffset) -
getInt16
public short getInt16(int byteOffset) -
getInt16
public short getInt16(int byteOffset, boolean littleEndian) -
getUint16
public int getUint16(int byteOffset) -
getUint16
public int getUint16(int byteOffset, boolean littleEndian) -
getInt32
public int getInt32(int byteOffset) -
getInt32
public int getInt32(int byteOffset, boolean littleEndian) -
getUint32
public int getUint32(int byteOffset) -
getUint32
public int getUint32(int byteOffset, boolean littleEndian) -
getBigInt64
public long getBigInt64(int byteOffset) -
getBigInt64
public long getBigInt64(int byteOffset, boolean littleEndian) -
getBigUint64
public long getBigUint64(int byteOffset) -
getBigUint64
public long getBigUint64(int byteOffset, boolean littleEndian) -
getFloat32
public float getFloat32(int byteOffset) -
getFloat32
public float getFloat32(int byteOffset, boolean littleEndian) -
getFloat64
public double getFloat64(int byteOffset) -
getFloat64
public double getFloat64(int byteOffset, boolean littleEndian) -
setInt8
public void setInt8(int byteOffset, int value) -
setUint8
public void setUint8(int byteOffset, int value) -
setInt16
public void setInt16(int byteOffset, int value) -
setInt16
public void setInt16(int byteOffset, int value, boolean littleEndian) -
setUint16
public void setUint16(int byteOffset, int value) -
setUint16
public void setUint16(int byteOffset, int value, boolean littleEndian) -
setInt32
public void setInt32(int byteOffset, int value) -
setInt32
public void setInt32(int byteOffset, int value, boolean littleEndian) -
setBigInt64
public void setBigInt64(int byteOffset, long value) -
setBigInt64
public void setBigInt64(int byteOffset, long value, boolean littleEndian) -
setBigUint64
public void setBigUint64(int byteOffset, long value) -
setBigUint64
public void setBigUint64(int byteOffset, long value, boolean littleEndian) -
setUint32
public void setUint32(int byteOffset, int value) -
setUint32
public void setUint32(int byteOffset, int value, boolean littleEndian) -
setFloat32
public void setFloat32(int byteOffset, float value) -
setFloat32
public void setFloat32(int byteOffset, float value, boolean littleEndian) -
setFloat64
public void setFloat64(int byteOffset, double value) -
setFloat64
public void setFloat64(int byteOffset, double value, boolean littleEndian) -
create
Deprecated. -
create
Deprecated. -
create
Deprecated. -
fromJavaBuffer
-