public abstract class NativeArrayBufferView extends ScriptableObject
ScriptableObject.KeyComparator, ScriptableObject.LambdaGetterFunction, ScriptableObject.LambdaSetterFunction| 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
|
protected boolean |
outOfRange |
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 |
|---|---|
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 static boolean |
isArg(Object[] args,
int i) |
protected static boolean |
useLittleEndian() |
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChangeForSlot, checkPropertyDefinition, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureScriptableObjectButNotSymbol, ensureSymbolScriptable, ensureType, equivalentValues, get, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassName, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSuperProperty, getSuperProperty, getSuperProperty, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, put, putConst, putConstProperty, putOwnProperty, putOwnProperty, putOwnProperty, putProperty, putProperty, putProperty, putSuperProperty, putSuperProperty, putSuperProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, sizecreateSlotMapprotected final NativeArrayBuffer arrayBuffer
protected final int offset
protected final int byteLength
protected final boolean outOfRange
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(Object[] args, int i)
Copyright © 2025 HtmlUnit. All rights reserved.