Click or drag to resize

IArrayBufferViewWriteBytes Method

Copies bytes from the specified byte array into the view.

Namespace: Microsoft.ClearScript.JavaScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
ulong WriteBytes(
	byte[] source,
	ulong sourceIndex,
	ulong count,
	ulong offset
)

Parameters

source  Byte
The byte array from which to copy the bytes.
sourceIndex  UInt64
The index within source of the first byte to copy.
count  UInt64
The maximum number of bytes to copy.
offset  UInt64
The offset within the view at which to store the first copied byte.

Return Value

UInt64
The number of bytes copied.
See Also