public class V8ValueArrayBuffer extends V8ValueObject
Modifier and Type | Field and Description |
---|---|
protected static int |
BYTE_LENGTH_1 |
protected static int |
BYTE_LENGTH_2 |
protected static int |
BYTE_LENGTH_3 |
protected java.nio.ByteBuffer |
byteBuffer |
protected java.nio.ByteOrder |
byteOrder |
protected static java.lang.String |
PROPERTY_BYTE_LENGTH |
ERROR_THE_KEY_VALUE_PAIR_MUST_MATCH, FUNCTION_ADD, FUNCTION_DELETE, FUNCTION_GET, FUNCTION_HAS, FUNCTION_SET, METHOD_PREFIX_GET, METHOD_PREFIX_IS, METHOD_PREFIX_SET, PROPERTY_PROTOTYPE
handle, INVALID_HANDLE, weak
OBJECT_CONVERTER, v8Runtime
DEFAULT_BATCH_SIZE, MIN_BATCH_SIZE
Modifier and Type | Method and Description |
---|---|
boolean |
fromBytes(byte[] bytes) |
boolean |
fromDoubles(double[] doubles) |
boolean |
fromFloats(float[] floats) |
boolean |
fromIntegers(int[] integers) |
boolean |
fromLongs(long[] longs) |
boolean |
fromShorts(short[] shorts) |
java.nio.ByteBuffer |
getByteBuffer() |
int |
getByteLength() |
java.nio.ByteOrder |
getByteOrder() |
V8ValueReferenceType |
getType() |
void |
setByteOrder(java.nio.ByteOrder byteOrder) |
byte[] |
toBytes() |
double[] |
toDoubles() |
float[] |
toFloats() |
int[] |
toIntegers() |
long[] |
toLongs() |
short[] |
toShorts() |
batchGet, bind, bindFunction, bindProperty, delete, deletePrivateProperty, forEach, forEach, get, getBoolean, getDouble, getIdentityHash, getInteger, getLong, getOwnPropertyNames, getPrivateProperty, getProperty, getPropertyNames, getPrototype, getString, has, hasInternalType, hasOwnProperty, hasPrivateProperty, invokeExtended, invokeExtended, isFrozen, isSealed, sameValue, set, set, setBoolean, setDouble, setInteger, setLong, setNull, setPrivateProperty, setProperty, setPrototype, setString, setUndefined, strictEquals, toJsonString, toProtoString, unbind, unbindFunction, unbindProperty, unbindProperty, unbindProperty, unbindProperty
addReference, checkV8Runtime, clearWeak, close, close, equals, getHandle, isClosed, isWeak, isWeak, removeReference, setWeak, toClone, toString
getV8Runtime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bindFunction, bindFunction, bindProperty, deleteNull, deleteUndefined, forEach, forEach, forEach, forEach, forEach, forEach, getBigInteger, getFloat, getNull, getObject, getOwnPropertyNameStrings, getPrivatePropertyBoolean, getPrivatePropertyDouble, getPrivatePropertyFloat, getPrivatePropertyInteger, getPrivatePropertyLong, getPrivatePropertyNull, getPrivatePropertyObject, getPrivatePropertyPrimitive, getPrivatePropertyString, getPrivatePropertyUndefined, getPrivatePropertyZonedDateTime, getPropertyBoolean, getPropertyDouble, getPropertyFloat, getPropertyInteger, getPropertyLong, getPropertyObject, getPropertyPrimitive, getPropertyString, getPropertyZonedDateTime, getUndefined, getZonedDateTime, hasNull, hasUndefined, invoke, invoke, invokeBigInteger, invokeBoolean, invokeDouble, invokeFloat, invokeInteger, invokeLong, invokeObject, invokeString, invokeVoid, invokeVoid, invokeZonedDateTime, isGeneratorObject, setPrivatePropertyNull, setPrivatePropertyUndefined, setPropertyNull, setPropertyUndefined, unbindFunction, unbindFunction, unbindFunction, unbindProperty
clearWeak, close, getHandle, isClosed, isWeak, isWeak, setWeak
asBoolean, asDouble, asInt, asLong, asString, equals, getV8Runtime, isNull, isNullOrUndefined, isUndefined
close
toClone, toClone
protected static final int BYTE_LENGTH_1
protected static final int BYTE_LENGTH_2
protected static final int BYTE_LENGTH_3
protected static final java.lang.String PROPERTY_BYTE_LENGTH
protected java.nio.ByteBuffer byteBuffer
protected java.nio.ByteOrder byteOrder
public boolean fromBytes(byte[] bytes)
public boolean fromDoubles(double[] doubles)
public boolean fromFloats(float[] floats)
public boolean fromIntegers(int[] integers)
public boolean fromLongs(long[] longs)
public boolean fromShorts(short[] shorts)
public java.nio.ByteBuffer getByteBuffer()
public int getByteLength() throws JavetException
JavetException
public java.nio.ByteOrder getByteOrder()
public V8ValueReferenceType getType()
getType
in interface IV8ValueReference
getType
in class V8ValueObject
public void setByteOrder(java.nio.ByteOrder byteOrder)
public byte[] toBytes()
public double[] toDoubles()
public float[] toFloats()
public int[] toIntegers()
public long[] toLongs()
public short[] toShorts()