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

Reimplemented from System.Text.Encoding.

Definition at line 360 of file UTF32Encoding.cs.

361 {
362 if (baseDecoder != null)
363 {
364 }
365 if (baseDecoder != null)
366 {
367 DecoderFallbackBuffer fallbackBuffer = baseDecoder.FallbackBuffer;
368 }
370 bool bigEndian = this._bigEndian;
371 if (bigEndian)
372 {
373 }
374 int num = 56320;
375 if (bigEndian)
376 {
377 chars->m_value = (char)num;
378 }
379 long num2 = 0L;
380 if (baseDecoder == null || baseDecoder._mustFlush)
381 {
382 bool bigEndian2 = this._bigEndian;
383 if (bigEndian2)
384 {
386 }
387 if (baseDecoder != null)
388 {
389 }
390 }
391 while (baseDecoder != null)
392 {
393 }
394 while (baseDecoder != null)
395 {
396 }
397 throw new InvalidCastException();
398 }
class f__AnonymousType0<< Count > j__TPar
DecoderFallback DecoderFallback
Definition Encoding.cs:294
DecoderFallback decoderFallback
Definition Encoding.cs:1033

References System.Text.UTF32Encoding._bigEndian, System.Text.Encoding.decoderFallback, j__TPar, and System.L.