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

Gets a pointer to an unmanaged memory buffer filled from an 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 IntPtr GetFilledBuffer(
	int[] source,
	int length
)
Public Shared Function GetFilledBuffer ( _
	source As Integer(), _
	length As Integer _
) As IntPtr
public:
static IntPtr GetFilledBuffer(
	array<int>^ source, 
	int length
)

Parameters

source
array<Int32>[]()[][]
The array used to build the buffer.
length
Int32
The number of elements to copy from the source.

Return Value

A pointer to an unmanaged memory buffer filled from the source array.

See Also