Interop.TBarCodePlatform.PtrToString
string TECIT.TBarCode.Interop.TBarCodePlatform.PtrToString(IntPtr ptr)Casts the native string pointer using the platform TBarCode encode.
A valid string.
We assume that Linux hat UTF-8 encoding (see http://www.mono-project.com/Interop_with_Native_Libraries); in Windows it's used the Unicode encoding.