public class NativeInt8Array extends NativeTypedArrayView<Byte>
NativeTypedArrayView.RealThis, NativeTypedArrayView.TypedArrayConstructableScriptableObject.KeyComparator, ScriptableObject.LambdaGetterFunction, ScriptableObject.LambdaSetterFunctionlengtharrayBuffer, byteLength, offset, outOfRangeCONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONSTNOT_FOUND| Constructor and Description |
|---|
NativeInt8Array() |
NativeInt8Array(int len) |
NativeInt8Array(NativeArrayBuffer ab,
int off,
int len) |
| Modifier and Type | Method and Description |
|---|---|
Byte |
get(int i) |
int |
getBytesPerElement()
Return the number of bytes represented by each element in the array.
|
String |
getClassName()
Return the name of the class.
|
static Object |
init(Context cx,
Scriptable scope,
boolean sealed) |
protected Object |
js_get(int index) |
protected Object |
js_set(int index,
Object c) |
Byte |
set(int i,
Byte aByte) |
add, add, addAll, addAll, checkIndex, clear, contains, containsAll, defineOwnProperty, delete, delete, ensureIndex, equals, get, get, getArrayElement, getArrayLength, getIds, has, has, hashCode, indexOf, isEmpty, isTypedArrayOutOfBounds, iterator, js_constructor, lastIndexOf, listIterator, listIterator, put, put, remove, remove, removeAll, retainAll, setArrayElement, size, subList, toArray, toArray, toNumericgetBuffer, getByteLength, getByteOffset, isArg, useLittleEndianapplyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChangeForSlot, checkPropertyDefinition, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineBuiltInProperty, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureScriptableObjectButNotSymbol, ensureSymbolScriptable, ensureType, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSuperProperty, getSuperProperty, getSuperProperty, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, 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, setPrototypecreateSlotMapclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitreplaceAll, sort, spliteratorparallelStream, removeIf, streampublic NativeInt8Array()
public NativeInt8Array(NativeArrayBuffer ab, int off, int len)
public NativeInt8Array(int len)
public String getClassName()
ScriptableObjectThis is typically the same name as the constructor. Classes extending ScriptableObject must implement this abstract method.
getClassName in interface ScriptablegetClassName in class ScriptableObjectpublic static Object init(Context cx, Scriptable scope, boolean sealed)
public int getBytesPerElement()
NativeTypedArrayViewgetBytesPerElement in class NativeTypedArrayView<Byte>protected Object js_get(int index)
js_get in class NativeTypedArrayView<Byte>protected Object js_set(int index, Object c)
js_set in class NativeTypedArrayView<Byte>public Byte get(int i)
Copyright © 2025 HtmlUnit. All rights reserved.