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
CStreamWriter.cs
Go to the documentation of this file.
1using System;
2using System.Text;
4
5namespace System.IO
6{
7 // Token: 0x02000572 RID: 1394
8 internal class CStreamWriter : StreamWriter
9 {
10 // Token: 0x060029FF RID: 10751 RVA: 0x0005B4E0 File Offset: 0x000596E0
11 public CStreamWriter(Stream stream, Encoding encoding, bool leaveOpen)
12 {
13 int num = 1;
14 if (num == 0)
15 {
16 }
17 if (num == 0)
18 {
19 }
20 throw new InvalidCastException();
21 }
22
23 // Token: 0x06002A00 RID: 10752 RVA: 0x0005B4FC File Offset: 0x000596FC
24 public override void Write(char[] buffer, int index, int count)
25 {
26 if (this.driver.inited)
27 {
28 long num = 0L;
29 bool flag = this.driver.IsSpecialKey(buffer);
30 base.Write(buffer, index, (int)num);
31 this.driver.WriteSpecialKey(buffer);
32 return;
33 }
34 }
35
36 // Token: 0x06002A01 RID: 10753 RVA: 0x0005B590 File Offset: 0x00059790
37 public override void Write(char val)
38 {
39 Monitor.Enter(this, val != '\0');
40 bool flag = this.driver.IsSpecialKey(val);
41 this.driver.WriteSpecialKey(val);
42 }
43
44 // Token: 0x06002A02 RID: 10754 RVA: 0x0005B604 File Offset: 0x00059804
45 public void InternalWriteString(string val)
46 {
47 base.Write(val);
48 }
49
50 // Token: 0x06002A03 RID: 10755 RVA: 0x0005B61C File Offset: 0x0005981C
51 public void InternalWriteChar(char val)
52 {
53 base.Write(val);
54 }
55
56 // Token: 0x06002A04 RID: 10756 RVA: 0x0005B634 File Offset: 0x00059834
57 public void InternalWriteChars(char[] buffer, int n)
58 {
59 long num = 0L;
60 base.Write(buffer, (int)num, n);
61 }
62
63 // Token: 0x06002A05 RID: 10757 RVA: 0x0005B650 File Offset: 0x00059850
64 public override void Write(char[] val)
65 {
66 }
67
68 // Token: 0x06002A06 RID: 10758 RVA: 0x0005B660 File Offset: 0x00059860
69 public override void Write(string val)
70 {
71 if (val != null && this.driver.inited)
72 {
73 char[] array = val.ToCharArray();
74 return;
75 }
76 }
77
78 // Token: 0x06002A07 RID: 10759 RVA: 0x0005B688 File Offset: 0x00059888
79 public override void WriteLine(string val)
80 {
81 }
82
83 // Token: 0x0400168A RID: 5770
85 }
86}
class f__AnonymousType0<< Count > j__TPar
override void Write(char val)
override void Write(string val)
override void WriteLine(string val)
void InternalWriteChar(char val)
override void Write(char[] buffer, int index, int count)
override void Write(char[] val)
void InternalWriteString(string val)
void InternalWriteChars(char[] buffer, int n)
CStreamWriter(Stream stream, Encoding encoding, bool leaveOpen)
void WriteSpecialKey(ConsoleKeyInfo key)
bool IsSpecialKey(ConsoleKeyInfo key)
static void Enter(object obj)
Definition Monitor.cs:11