public class V8ValueDataView extends V8ValueObject
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
FUNCTION_GET_BIG_INT_64 |
protected static java.lang.String |
FUNCTION_GET_FLOAT_32 |
protected static java.lang.String |
FUNCTION_GET_FLOAT_64 |
protected static java.lang.String |
FUNCTION_GET_INT_16 |
protected static java.lang.String |
FUNCTION_GET_INT_32 |
protected static java.lang.String |
FUNCTION_GET_INT_8 |
protected static java.lang.String |
FUNCTION_SET_BIG_INT_64 |
protected static java.lang.String |
FUNCTION_SET_FLOAT_32 |
protected static java.lang.String |
FUNCTION_SET_FLOAT_64 |
protected static java.lang.String |
FUNCTION_SET_INT_16 |
protected static java.lang.String |
FUNCTION_SET_INT_32 |
protected static java.lang.String |
FUNCTION_SET_INT_8 |
protected static java.lang.String |
PROPERTY_BUFFER
The constant PROPERTY_BUFFER.
|
protected static java.lang.String |
PROPERTY_BYTE_LENGTH
The constant PROPERTY_BYTE_LENGTH.
|
protected static java.lang.String |
PROPERTY_BYTE_OFFSET
The constant PROPERTY_BYTE_OFFSET.
|
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 |
---|---|
long |
getBigInt64(int byteOffset) |
long |
getBigInt64(int byteOffset,
boolean littleEndian) |
V8ValueArrayBuffer |
getBuffer() |
int |
getByteLength() |
int |
getByteOffset() |
float |
getFloat32(int byteOffset) |
float |
getFloat32(int byteOffset,
boolean littleEndian) |
double |
getFloat64(int byteOffset) |
double |
getFloat64(int byteOffset,
boolean littleEndian) |
short |
getInt16(int byteOffset) |
short |
getInt16(int byteOffset,
boolean littleEndian) |
int |
getInt32(int byteOffset) |
int |
getInt32(int byteOffset,
boolean littleEndian) |
byte |
getInt8(int byteOffset) |
V8ValueReferenceType |
getType() |
void |
setBigInt64(int byteOffset,
long value) |
void |
setBigInt64(int byteOffset,
long value,
boolean littleEndian) |
void |
setFloat32(int byteOffset,
float value) |
void |
setFloat32(int byteOffset,
float value,
boolean littleEndian) |
void |
setFloat64(int byteOffset,
double value) |
void |
setFloat64(int byteOffset,
double value,
boolean littleEndian) |
void |
setInt16(int byteOffset,
short value) |
void |
setInt16(int byteOffset,
short value,
boolean littleEndian) |
void |
setInt32(int byteOffset,
int value) |
void |
setInt32(int byteOffset,
int value,
boolean littleEndian) |
void |
setInt8(int byteOffset,
byte value) |
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, 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 java.lang.String FUNCTION_GET_BIG_INT_64
protected static final java.lang.String FUNCTION_GET_FLOAT_32
protected static final java.lang.String FUNCTION_GET_FLOAT_64
protected static final java.lang.String FUNCTION_GET_INT_16
protected static final java.lang.String FUNCTION_GET_INT_32
protected static final java.lang.String FUNCTION_GET_INT_8
protected static final java.lang.String FUNCTION_SET_BIG_INT_64
protected static final java.lang.String FUNCTION_SET_FLOAT_32
protected static final java.lang.String FUNCTION_SET_FLOAT_64
protected static final java.lang.String FUNCTION_SET_INT_16
protected static final java.lang.String FUNCTION_SET_INT_32
protected static final java.lang.String FUNCTION_SET_INT_8
protected static final java.lang.String PROPERTY_BUFFER
protected static final java.lang.String PROPERTY_BYTE_LENGTH
protected static final java.lang.String PROPERTY_BYTE_OFFSET
public long getBigInt64(int byteOffset) throws JavetException
JavetException
public long getBigInt64(int byteOffset, boolean littleEndian) throws JavetException
JavetException
public V8ValueArrayBuffer getBuffer() throws JavetException
JavetException
public int getByteLength() throws JavetException
JavetException
public int getByteOffset() throws JavetException
JavetException
public float getFloat32(int byteOffset) throws JavetException
JavetException
public float getFloat32(int byteOffset, boolean littleEndian) throws JavetException
JavetException
public double getFloat64(int byteOffset) throws JavetException
JavetException
public double getFloat64(int byteOffset, boolean littleEndian) throws JavetException
JavetException
public short getInt16(int byteOffset) throws JavetException
JavetException
public short getInt16(int byteOffset, boolean littleEndian) throws JavetException
JavetException
public int getInt32(int byteOffset) throws JavetException
JavetException
public int getInt32(int byteOffset, boolean littleEndian) throws JavetException
JavetException
public byte getInt8(int byteOffset) throws JavetException
JavetException
public V8ValueReferenceType getType()
getType
in interface IV8ValueReference
getType
in class V8ValueObject
public void setBigInt64(int byteOffset, long value) throws JavetException
JavetException
public void setBigInt64(int byteOffset, long value, boolean littleEndian) throws JavetException
JavetException
public void setFloat32(int byteOffset, float value) throws JavetException
JavetException
public void setFloat32(int byteOffset, float value, boolean littleEndian) throws JavetException
JavetException
public void setFloat64(int byteOffset, double value) throws JavetException
JavetException
public void setFloat64(int byteOffset, double value, boolean littleEndian) throws JavetException
JavetException
public void setInt16(int byteOffset, short value) throws JavetException
JavetException
public void setInt16(int byteOffset, short value, boolean littleEndian) throws JavetException
JavetException
public void setInt32(int byteOffset, int value) throws JavetException
JavetException
public void setInt32(int byteOffset, int value, boolean littleEndian) throws JavetException
JavetException
public void setInt8(int byteOffset, byte value) throws JavetException
JavetException