public abstract class NativeArrayBufferView extends IdScriptableObject
ScriptableObject.KeyComparator| Modifier and Type | Field and Description |
|---|---|
protected NativeArrayBuffer |
arrayBuffer
Many view objects can share the same backing array
|
protected int |
byteLength
The length, in bytes, of the portion of the backing array that we use
|
protected static int |
MAX_INSTANCE_ID |
protected int |
offset
The offset, in bytes, from the start of the backing array
|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Modifier | Constructor and Description |
|---|---|
|
NativeArrayBufferView() |
protected |
NativeArrayBufferView(NativeArrayBuffer ab,
int offset,
int byteLength) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
findInstanceIdInfo(java.lang.String s)
Map name to id of instance property.
|
NativeArrayBuffer |
getBuffer()
Return the buffer that backs this view.
|
int |
getByteLength()
Return the length, in bytes, of the part of the buffer that this view represents.
|
int |
getByteOffset()
Return the offset in bytes from the start of the buffer that this view represents.
|
protected java.lang.String |
getInstanceIdName(int id)
Map id back to property name it defines.
|
protected java.lang.Object |
getInstanceIdValue(int id)
Get id value.
|
protected int |
getMaxInstanceId()
Get maximum id findInstanceIdInfo can generate.
|
protected static boolean |
isArg(java.lang.Object[] args,
int i) |
protected static boolean |
useLittleEndian() |
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, delete, ensureType, execIdCall, exportAsJSClass, fillConstructorProperties, findInstanceIdInfo, findPrototypeId, findPrototypeId, get, get, getAttributes, getAttributes, getOwnPropertyDescriptor, has, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeId, initPrototypeMethod, initPrototypeMethod, initPrototypeMethod, initPrototypeValue, initPrototypeValue, instanceIdInfo, put, put, setAttributes, setInstanceIdAttributes, setInstanceIdValueapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizeprotected final NativeArrayBuffer arrayBuffer
protected final int offset
protected final int byteLength
protected static final int MAX_INSTANCE_ID
public NativeArrayBufferView()
protected NativeArrayBufferView(NativeArrayBuffer ab, int offset, int byteLength)
public NativeArrayBuffer getBuffer()
public int getByteOffset()
public int getByteLength()
protected static boolean useLittleEndian()
protected static boolean isArg(java.lang.Object[] args,
int i)
protected int getMaxInstanceId()
IdScriptableObjectgetMaxInstanceId in class IdScriptableObjectprotected java.lang.String getInstanceIdName(int id)
IdScriptableObjectgetInstanceIdName in class IdScriptableObjectprotected java.lang.Object getInstanceIdValue(int id)
IdScriptableObjectgetInstanceIdValue in class IdScriptableObjectprotected int findInstanceIdInfo(java.lang.String s)
IdScriptableObjectIdScriptableObject.instanceIdInfo(int, int).findInstanceIdInfo in class IdScriptableObject