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

◆ ConvertToManaged()

static unsafe string System.StubHelpers.CSTRMarshaler.ConvertToManaged ( IntPtr cstr)
inlinestaticpackage

Definition at line 50 of file CSTRMarshaler.cs.

51 {
52 if (IntPtr.Zero == cstr)
53 {
54 return null;
55 }
56 return new string((sbyte*)(void*)cstr);
57 }

References System.IntPtr.Zero.