Uint16Array

Uint16Array(int)

Initializes a new instance of the Uint16Array class.

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

See Also


Uint16Array(ushort[])

Initializes a new instance of the Uint16Array class.

public Uint16Array(ushort[] data)
ParameterTypeDescription
dataUInt16[]The array data.

See Also


Uint16Array(ArrayBuffer)

Initializes a new instance of the Uint16Array class.

public Uint16Array(ArrayBuffer buffer)
ParameterTypeDescription
bufferArrayBufferThe data buffer.

See Also


Uint16Array(ArrayBuffer, int)

Initializes a new instance of the Uint16Array class.

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

See Also


Uint16Array(ArrayBuffer, int, int)

Initializes a new instance of the Uint16Array class.

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

See Also