Sometime BASS returns an IntPtr which actually represents a pointer to a memory block containing a null-terminated UTF-8 *char (string, 8-bit). This method does this translation for you and returns the actual string.
Assembly: Bass.Net (in Bass.Net.dll) Version: 22.214.171.124
public static string IntPtrAsStringUtf8( IntPtr utf8Ptr )
Public Shared Function IntPtrAsStringUtf8 ( utf8Ptr As IntPtr ) As String
- Type: SystemIntPtr
The IntPtr which represents the address of the first character of the unmanaged *char (string, UTF-8, 8-bit).
Return ValueType: String
The translated unicode string.