Click or drag to resize

IArrayBufferViewReadBytes Method

Copies bytes from the view into the specified byte array.

Namespace:  Microsoft.ClearScript.JavaScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.5
Syntax
ulong ReadBytes(
	ulong offset,
	ulong count,
	byte[] destination,
	ulong destinationIndex
)

Parameters

offset
Type: SystemUInt64
The offset within the view of the first byte to copy.
count
Type: SystemUInt64
The maximum number of bytes to copy.
destination
Type: SystemByte
The byte array into which to copy the bytes.
destinationIndex
Type: SystemUInt64
The index within destination at which to store the first copied byte.

Return Value

Type: UInt64
The number of bytes copied.
See Also