Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ConvertToManaged()

static unsafe string System.StubHelpers.AnsiBSTRMarshaler.ConvertToManaged ( IntPtr bstr)
inlinestaticpackage

Definition at line 28 of file AnsiBSTRMarshaler.cs.

29 {
30 if (IntPtr.Zero == bstr)
31 {
32 return null;
33 }
34 return new string((sbyte*)(void*)bstr);
35 }

References System.IntPtr.Zero.