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.UTF8Encoding.GetChars ( byte * bytes,
int byteCount,
char * chars,
int charCount,
DecoderNLS baseDecoder )
inlinepackagevirtualinherited

Reimplemented from System.Text.Encoding.

Definition at line 411 of file UTF8Encoding.cs.

412 {
413 if (baseDecoder != null)
414 {
415 }
416 if (!false && baseDecoder != null)
417 {
418 DecoderFallbackBuffer fallbackBuffer = baseDecoder.FallbackBuffer;
419 int num = 1;
420 int num2 = 56320;
421 byte value = bytes->m_value;
422 num2.m_value = num;
423 }
424 if (baseDecoder == null || baseDecoder._mustFlush)
425 {
426 DecoderFallbackBuffer fallbackBuffer2;
427 if (baseDecoder != null)
428 {
429 fallbackBuffer2 = baseDecoder.FallbackBuffer;
430 if (baseDecoder != null)
431 {
432 goto IL_0066;
433 }
434 }
435 fallbackBuffer2.InternalReset();
436 if (baseDecoder != null)
437 {
438 }
439 IL_0066:;
440 }
441 while (baseDecoder != null)
442 {
443 }
444 throw new InvalidCastException();
445 }
class f__AnonymousType0<< Count > j__TPar

References System.Text.DecoderFallbackBuffer.InternalReset(), j__TPar, and System.value.