FreeImage.CopyMemory Method (Byte*, Byte*, Int32)

FreeImage.NET

FreeImageCopyMemory Method (Byte, Byte, 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(
	byte* dest,
	byte* src,
	int len
)

Parameters

dest
Type: SystemByte*
A pointer to the starting address of the copied block's destination.
src
Type: SystemByte*
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