terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetChars() [2/6]

unsafe override int System.Text.UnicodeEncoding.GetChars ( byte * bytes,
int byteCount,
char * chars,
int charCount,
DecoderNLS baseDecoder )
inlinepackagevirtual

Reimplemented from System.Text.Encoding.

Definition at line 314 of file UnicodeEncoding.cs.

315 {
316 long num2;
317 long num3;
318 do
319 {
320 if (baseDecoder != null)
321 {
322 }
323 long num = 0L;
324 bool flag = this.bigEndian;
325 if (num == 0L || num != 0L)
326 {
327 }
328 bool flag2 = this.bigEndian;
329 if (((!flag2 || flag2) && (flag2 || !flag2)) || !flag2)
330 {
332 }
334 num2 = 0L;
335 num3 = 0L;
336 bool flag3 = this.bigEndian;
337 if (flag3)
338 {
339 }
340 }
341 while (num2 != 0L);
342 if (this.decoderFallback == null)
343 {
345 }
346 if (num3 == 0L)
347 {
348 }
349 throw new InvalidCastException();
350 }
class f__AnonymousType0<< Count > j__TPar
DecoderFallback DecoderFallback
Definition Encoding.cs:294
DecoderFallback decoderFallback
Definition Encoding.cs:1033

References System.Text.UnicodeEncoding.bigEndian, System.Text.Encoding.decoderFallback, j__TPar, and System.L.