Int32Array Class

Int32Array class

Represents an array of twos-complement 32-bit signed integers in the platform byte order.

public class Int32Array : TypedArray<int>

Constructors

NameDescription
Int32Array(ArrayBuffer)Initializes a new instance of the Int32Array class.
Int32Array(int)Initializes a new instance of the Int32Array class.
Int32Array(int[])Initializes a new instance of the Int32Array class.
Int32Array(ArrayBuffer, int)Initializes a new instance of the Int32Array class.
Int32Array(ArrayBuffer, int, int)Initializes a new instance of the Int32Array class.

Properties

NameDescription
getBuffer Gets the ArrayBuffer referenced by this instance.
getByteLength Gets the byteLength accessor property represents the length of an ArrayBuffer in bytes.
getByteOffset Gets the byteOffset from the start of referenced ArrayBuffer.
[getItem]
[setItem] Gets or sets the Int32 at the specified index.
getLength Gets the length of a typed array.

Methods

NameDescription
getPlatformType()This method is used to retrieve the ECMAScript object .

Fields

NameDescription
static readonly BYTES_PER_ELEMENTThe property represents the size in bytes of each element in an typed array.

See Also