[This is preliminary documentation and is subject to change.]

Copies data from an unmanaged memory pointer to a ushort array.

Namespace: org.critterai.interop
Assembly: cai-util (in cai-util.dll) Version: 0.5.0.0 (0.5.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public static void Copy(
	IntPtr source,
	ushort[] destination,
	int length
)
Public Shared Sub Copy ( _
	source As IntPtr, _
	destination As UShort(), _
	length As Integer _
)
public:
static void Copy(
	IntPtr source, 
	array<unsigned short>^ destination, 
	int length
)

Parameters

source
IntPtr
A memory pointer to copy from.
destination
array<UInt16>[]()[][]
The array to copy to.
length
Int32
The length of the copy.

Remarks

This method behaves the same as the Marshal.Copy methods.

See Also