|
SystemToolsCopyUnmanagedMemory Method (IntPtr, IntPtr, Int32)
|
Copy block of unmanaged memory.
Namespace:
Accord
Assembly:
Accord (in Accord.dll) Version: 3.8.0
Syntax public static IntPtr CopyUnmanagedMemory(
IntPtr dst,
IntPtr src,
int count
)
Public Shared Function CopyUnmanagedMemory (
dst As IntPtr,
src As IntPtr,
count As Integer
) As IntPtr
Request Example
View SourceParameters
- dst
- Type: SystemIntPtr
Destination pointer. - src
- Type: SystemIntPtr
Source pointer. - count
- Type: SystemInt32
Memory block's length to copy.
Return Value
Type:
IntPtrReturn'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