FreeImage.NET Class Library Reference
FreeImageCopyMemory Method (Void, Void, Int32) |
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( void* dest, void* src, int len )
Parameters
- dest
- Type: SystemVoid*
A pointer to the starting address of the copied block's destination. - src
- Type: SystemVoid*
A pointer to the starting address of the block of memory to copy. - len
- Type: SystemInt32
The size of the block of memory to copy, in bytes.
Remarks
CopyMemory runs faster than MoveMemory(Void*, Void*, UInt32).
However, if both blocks overlap the result is undefined.
See Also