Click or drag to resize

ITypedArrayTRead(UInt64, UInt64, SpanT, UInt64) Method

Copies elements from the typed array into the specified span.

Namespace: Microsoft.ClearScript.JavaScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.1
Syntax
ulong Read(
	ulong index,
	ulong length,
	Span<T> destination,
	ulong destinationIndex
)

Parameters

index  UInt64
The index within the typed array of the first element to copy.
length  UInt64
The maximum number of elements to copy.
destination  SpanT
The span into which to copy the elements.
destinationIndex  UInt64
The index within destination at which to store the first copied element.

Return Value

UInt64
The number of elements copied.
See Also