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

Returns an array filled from an unmanaged memory buffer.

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 int[] ExtractArrayInt(
	IntPtr source,
	int length
)
Public Shared Function ExtractArrayInt ( _
	source As IntPtr, _
	length As Integer _
) As Integer()
public:
static array<int>^ ExtractArrayInt(
	IntPtr source, 
	int length
)

Parameters

source
IntPtr
The pointer to an allocated unmanagedmemory buffer.
length
Int32
The number of elements to copy into the return array.

Return Value

An int array filled from the unmanaged memory buffer.

See Also