Click or drag to resize

JCOBridgeDirectBufferTCopyTo(T, Int32) Method

Copies the content of the buffer into destination.

On .NET 5+ and .NET Standard 2.1 dispatches to SIMD hardware intrinsics via AsSpan. On .NET Framework uses Buffer.MemoryCopy directly; if System.Memory is available in the AppDomain the SIMD path is activated automatically — see remarks on CopyTo(T, Int32) for loading instructions.


Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
public void CopyTo(
	T[] destination,
	int destinationIndex = 0
)

Parameters

destination  T
The target array.
destinationIndex  Int32  (Optional)
Zero-based start index in destination. Defaults to 0.
Exceptions
ExceptionCondition
ArgumentNullExceptiondestination is .
ArgumentExceptiondestination is too small.
See Also