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

◆ ConvertToManaged()

static unsafe string System.StubHelpers.VBByValStrMarshaler.ConvertToManaged ( IntPtr pNative,
int cch )
inlinestaticpackage

Definition at line 34 of file VBByValStrMarshaler.cs.

35 {
36 if (IntPtr.Zero == pNative)
37 {
38 return null;
39 }
40 return new string((sbyte*)(void*)pNative, 0, cch);
41 }

References System.IntPtr.Zero.