FreeImage.NET Class Library Reference
FreeImageCopyMemory Method (IntPtr, IntPtr, Int64) |
Copies a block of memory from one location to another.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static void CopyMemory( IntPtr dest, IntPtr src, long len )
Parameters
- dest
- Type: SystemIntPtr
A pointer to the starting address of the copied block's destination. - src
- Type: SystemIntPtr
A pointer to the starting address of the block of memory to copy. - len
- Type: SystemInt64
The size of the block of memory to copy, in bytes.
Remarks
CopyMemory runs faster than MoveMemory(IntPtr, IntPtr, Int64).
However, if both blocks overlap the result is undefined.
See Also