Uint16Array class

Uint16Array class

Represents an array of twos-complement 16-bit unsigned integers in the platform byte order.

Inheritance: Uint16ArrayTypedArrayDOMObject

The Uint16Array type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the Uint16Array class.
initInitializes a new instance of the Uint16Array class.
initInitializes a new instance of the Uint16Array class.
initInitializes a new instance of the Uint16Array class.
initInitializes a new instance of the Uint16Array 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 UInt16 at the specified index.

Indexer

NameDescription
[index]The index.

Methods

MethodDescription
get_platform_typeThis method is used to retrieve ECMAScript object Type.

See Also