Copy block of unmanaged memory.

Namespace:  AForge
Assembly:  AForge (in AForge.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public static IntPtr CopyUnmanagedMemory(
	IntPtr dst,
	IntPtr src,
	int count
)

Parameters

dst
Type: System..::.IntPtr
Destination pointer.
src
Type: System..::.IntPtr
Source pointer.
count
Type: System..::.Int32
Memory block's length to copy.

Return Value

Return's value of dst - pointer to destination.

Remarks

This function is required because of the fact that .NET does not provide any way to copy unmanaged blocks, but provides only methods to copy from unmanaged memory to managed memory and vise versa.

See Also