Click or drag to resize

JCOBridgeDirectBufferTCopyTo Method

Overload List
 NameDescription
Public methodCopyTo(T, Int32) 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.

Public methodCopyTo(IntPtr, Int64, Int64, Int64) Fills the destination with a copy of the memory this JCOBridgeDirectBufferT instance is holding from the underlying ByteBuffer. The number of bytes actually copied may be less than length if the remaining bytes from startPosition to the buffer limit or destinationSize are smaller.
Top
See Also