Click or drag to resize
Accord.NET (logo)

SystemToolsCopyUnmanagedMemory Method (Byte, Byte, Int32)

Copy block of unmanaged memory.

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static byte* CopyUnmanagedMemory(
	byte* dst,
	byte* src,
	int count
)
Request Example View Source

Parameters

dst
Type: SystemByte*
Destination pointer.
src
Type: SystemByte*
Source pointer.
count
Type: SystemInt32
Memory block's length to copy.

Return Value

Type: Byte*
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