65 {
66 if (strManaged == null)
67 {
69 {
70 *(sbyte*)(void*)pNativeBuffer = 0;
71 }
72 return;
73 }
74 int num = strManaged.Length;
76 {
78 }
79 byte* ptr = (byte*)(void*)pNativeBuffer;
80 bool flag = flags >> 8 != 0;
81 bool flag2 = (flags & 0xFF) != 0;
82 uint num2 = 0u;
83 int num3;
84 fixed (char* lpWideCharStr = strManaged)
85 {
87 }
88 if (num2 != 0)
89 {
91 }
93 {
94 num3--;
95 }
96 ptr[num3] = 0;
97 }
static unsafe int WideCharToMultiByte(uint CodePage, uint dwFlags, char *lpWideCharStr, int cchWideChar, byte *lpMultiByteStr, int cbMultiByte, IntPtr lpDefaultChar, IntPtr lpUsedDefaultChar)