public abstract class NativeArrayBufferView extends IdScriptableObject
| 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 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) |
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, execIdCall, exportAsJSClass, fillConstructorProperties, findPrototypeId, get, getAttributes, getOwnPropertyDescriptor, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeId, initPrototypeMethod, initPrototypeValue, instanceIdInfo, put, setAttributes, setInstanceIdAttributes, setInstanceIdValueapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizeprotected final NativeArrayBuffer arrayBuffer
protected final int offset
protected final int byteLength
public NativeArrayBufferView()
protected NativeArrayBufferView(NativeArrayBuffer ab, int offset, int byteLength)
public NativeArrayBuffer getBuffer()
public int getByteOffset()
public int getByteLength()
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