Uint8Array

Uint8Array(int)

Initializes a new instance of the Uint8Array class.

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

See Also


Uint8Array(byte[])

Initializes a new instance of the Uint8Array class.

public Uint8Array(byte[] data)
ParameterTypeDescription
dataByte[]The array data.

See Also


Uint8Array(ArrayBuffer)

Initializes a new instance of the Uint8Array class.

public Uint8Array(ArrayBuffer buffer)
ParameterTypeDescription
bufferArrayBufferThe data buffer.

See Also


Uint8Array(ArrayBuffer, int)

Initializes a new instance of the Uint8Array class.

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

See Also


Uint8Array(ArrayBuffer, int, int)

Initializes a new instance of the Uint8Array class.

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

See Also