Uint8Array class

Uint8Array class

Represents an array of twos-complement 8-bit unsigned integers.

Inheritance: Uint8ArrayTypedArrayDOMObject

The Uint8Array type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the Uint8Array class.
initInitializes a new instance of the Uint8Array class.
initInitializes a new instance of the Uint8Array class.
initInitializes a new instance of the Uint8Array class.
initInitializes a new instance of the Uint8Array class.

Properties

PropertyDescription
bufferGets the ArrayBuffer referenced by this instance.
byte_lengthGets the byteLength accessor property represents the length of an ArrayBuffer in bytes.
byte_offsetGets the byteOffset from the start of referenced ArrayBuffer.
lengthGets the length of a typed array.
BYTES_PER_ELEMENTThe property represents the size in bytes of each element in an typed array.

Gets or sets the Byte at the specified index.

Indexer

NameDescription
[index]The index.

Methods

MethodDescription
get_platform_typeThis method is used to retrieve ECMAScript object Type.

See Also