Int16Array

Int16Array(int)

Initializes a new instance of the Int16Array class.

public Int16Array(int length)
ParameterTypeDescription
lengthInt32The length (number of elements).

See Also


Int16Array(short[])

Initializes a new instance of the Int16Array class.

public Int16Array(short[] data)
ParameterTypeDescription
dataInt16[]The array data.

See Also


Int16Array(ArrayBuffer)

Initializes a new instance of the Int16Array class.

public Int16Array(ArrayBuffer buffer)
ParameterTypeDescription
bufferArrayBufferThe data buffer.

See Also


Int16Array(ArrayBuffer, int)

Initializes a new instance of the Int16Array class.

public Int16Array(ArrayBuffer buffer, int byteOffset)
ParameterTypeDescription
bufferArrayBufferThe data buffer.
byteOffsetInt32The byte offset.

See Also


Int16Array(ArrayBuffer, int, int)

Initializes a new instance of the Int16Array class.

public Int16Array(ArrayBuffer buffer, int byteOffset, int length)
ParameterTypeDescription
bufferArrayBufferThe data buffer.
byteOffsetInt32The byte offset.
lengthInt32The length.

See Also