ITypedArrayTRead(UInt64, UInt64, SpanT, UInt64) Method |
Copies elements from the typed array into the specified span.
Namespace: Microsoft.ClearScript.JavaScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.1.1
Syntaxulong Read(
ulong index,
ulong length,
Span<T> destination,
ulong destinationIndex
)
Function Read (
index As ULong,
length As ULong,
destination As Span(Of T),
destinationIndex As ULong
) As ULong
unsigned long long Read(
unsigned long long index,
unsigned long long length,
Span<T> destination,
unsigned long long destinationIndex
)
abstract Read :
index : uint64 *
length : uint64 *
destination : Span<'T> *
destinationIndex : uint64 -> uint64 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
UInt64The number of elements copied.
See Also