|
MemoryUtilsCopy(IntPtr, IntPtr, Int32, Byte) Method |
Copy memory size bytes from source to destination.
In case the destination is not aligned to 32, the tempByteArray may be used / created as a temporary storage.
This method can also set the if it was not set before.
Namespace: Ab4d.SharpEngine.UtilitiesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public static bool Copy(
IntPtr source,
IntPtr destination,
int size,
ref byte[]?? tempByteArray
)
Parameters
- source IntPtr
- source as IntPtr
- destination IntPtr
- destination as IntPtr
- size Int32
- size in bytes
- tempByteArray Byte
- reference to a byte array that can be used as a temporary storage
Return Value
Booleantrue when non-temporal avx copy was used; false when standard memory copy is used
See Also