BASS.NET API for the Un4seen BASS Audio LibraryUtilsIntPtrToArrayNullTermInt16 Method BASS.NET API for the Un4seen BASS Audio Library
Retrieves an array of int from a given unmanaged memory location.

NOTE: This method evaluates the pointer as 'a series/array of Int16 values terminated by a 0 value.

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version:

public static short[] IntPtrToArrayNullTermInt16(
	IntPtr pointer


Type: SystemIntPtr
The pointer to the unmanaged memory block.

Return Value

Type: Int16
or an array of int. Each array element will represent one Int16 value as obtained from the IntPtr.
See Also