public class NativeInt8Array extends NativeTypedArrayView<java.lang.Byte>
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
NOT_FOUND
Constructor and Description |
---|
NativeInt8Array() |
NativeInt8Array(int len) |
NativeInt8Array(NativeArrayBuffer ab,
int off,
int len) |
Modifier and Type | Method and Description |
---|---|
java.lang.Byte |
get(int i) |
int |
getBytesPerElement()
Return the number of bytes represented by each element in the array.
|
java.lang.String |
getClassName()
Return the name of the class.
|
static void |
init(Context cx,
Scriptable scope,
boolean sealed) |
java.lang.Byte |
set(int i,
java.lang.Byte aByte) |
add, add, addAll, addAll, clear, contains, containsAll, delete, equals, execIdCall, get, getArrayElement, getArrayLength, getIds, has, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, put, remove, remove, removeAll, retainAll, setArrayElement, size, subList, toArray, toArray
getBuffer, getByteLength, getByteOffset
activatePrototypeMap, defineOwnProperty, delete, exportAsJSClass, get, getAttributes, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeValue, put, setAttributes
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineProperty, defineProperty, defineProperty, defineProperty, deleteProperty, deleteProperty, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, hasInstance, hasProperty, hasProperty, isConst, isExtensible, isSealed, preventExtensions, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype
public NativeInt8Array()
public NativeInt8Array(NativeArrayBuffer ab, int off, int len)
public NativeInt8Array(int len)
public java.lang.String getClassName()
ScriptableObject
getClassName
in interface Scriptable
getClassName
in class ScriptableObject
public static void init(Context cx, Scriptable scope, boolean sealed)
public int getBytesPerElement()
NativeTypedArrayView
getBytesPerElement
in class NativeTypedArrayView<java.lang.Byte>
public java.lang.Byte get(int i)
public java.lang.Byte set(int i, java.lang.Byte aByte)
Copyright © 2010 - 2020 Adobe. All Rights Reserved