Method CopyLong
CopyLong(IntPtr, IntPtr, ulong)
Copies count bytes from the object pointed to by
src to the
object pointed to by dest. Both objects are reinterpreted
as arrays of byte.
public static IntPtr CopyLong(IntPtr dest, IntPtr src, ulong count)
Parameters
destIntPtrPointer to the memory location to copy to.
srcIntPtrPointer to the memory location to copy from.
countulongNumber of bytes to copy.
Returns
- IntPtr
dest
Remarks
If the objects overlap, the behavior is undefined.
If either dest or src is an invalid or null pointer,
the behavior is undefined, even if count is zero.
If the objects are potentially-overlapping or not trivially copyable, the behavior
of Copy(IntPtr, IntPtr, int)
is not specified and may be undefined.