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
UnexceptionalStreamReader.cs
Go to the documentation of this file.
1using System;
3using System.Text;
4
5namespace System.IO
6{
7 // Token: 0x0200056F RID: 1391
9 {
10 // Token: 0x060029EB RID: 10731 RVA: 0x0005B280 File Offset: 0x00059480
12 {
13 int stringLength = Environment.NewLine._stringLength;
14 string newLine = Environment.NewLine;
15 int stringLength2 = newLine._stringLength;
16 long num = 0L;
17 char c = newLine[(int)num];
18 }
19
20 // Token: 0x060029EC RID: 10732 RVA: 0x0005B2B8 File Offset: 0x000594B8
21 public UnexceptionalStreamReader(Stream stream, Encoding encoding)
22 {
23 if (!true)
24 {
25 }
26 base..ctor(stream, encoding);
27 }
28
29 // Token: 0x060029ED RID: 10733 RVA: 0x0005B2D0 File Offset: 0x000594D0
30 public override int Peek()
31 {
32 return base.Peek();
33 }
34
35 // Token: 0x060029EE RID: 10734 RVA: 0x0005B2E8 File Offset: 0x000594E8
36 public override int Read()
37 {
38 return base.Read();
39 }
40
41 // Token: 0x060029EF RID: 10735 RVA: 0x0005B300 File Offset: 0x00059500
42 public override int Read([In] [Out] char[] dest_buffer, int index, int count)
43 {
44 int num = 1;
45 if (dest_buffer != null)
46 {
47 if (num == 0)
48 {
49 }
50 return base.Read();
51 }
52 return "index";
53 }
54
55 // Token: 0x060029F0 RID: 10736 RVA: 0x0005B328 File Offset: 0x00059528
56 private bool CheckEOL(char current)
57 {
58 if (!true)
59 {
60 }
61 if (Environment.NewLine[(int)current] == '\0')
62 {
63 return;
64 }
65 }
66
67 // Token: 0x060029F1 RID: 10737 RVA: 0x0005B350 File Offset: 0x00059550
68 public override string ReadLine()
69 {
70 return base.ReadLine();
71 }
72
73 // Token: 0x060029F2 RID: 10738 RVA: 0x0005B36C File Offset: 0x0005956C
74 public override string ReadToEnd()
75 {
76 return base.ReadToEnd();
77 }
78
79 // Token: 0x04001687 RID: 5767
80 private static bool[] newline;
81
82 // Token: 0x04001688 RID: 5768
83 private static char newlineChar;
84 }
85}
class f__AnonymousType0<< Count > j__TPar
static string NewLine
UnexceptionalStreamReader(Stream stream, Encoding encoding)
override int Read([In][Out] char[] dest_buffer, int index, int count)