terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
CountingStream.cs
Go to the documentation of this file.
1using System;
3using System.IO;
6using Ionic.Crc;
7
8namespace Ionic.Zip
9{
10 [global::Cpp2ILInjected.Token(Token = "0x2000018")]
11 public class CountingStream : Stream
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x600007B")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1A474C8", Offset = "0x1A474C8", Length = "0x108")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "_WriteEntryData", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "PrepOutputStream", MemberParameters = new object[]
18 {
20 typeof(long),
25 }, ReturnType = typeof(void))]
26 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "CopyThroughWithRecompute", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "CopyThroughWithNoChange", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipFile), Member = "Save", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutputStream), Member = "_Init", MemberParameters = new object[]
30 {
32 typeof(bool),
33 typeof(string)
34 }, ReturnType = typeof(void))]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = ".ctor", ReturnType = typeof(void))]
37 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
38 public CountingStream(Stream stream)
39 {
40 throw null;
41 }
42
43 [global::Cpp2ILInjected.Token(Token = "0x17000012")]
45 {
46 [global::Cpp2ILInjected.Token(Token = "0x600007C")]
47 [global::Cpp2ILInjected.Address(RVA = "0x1A475D0", Offset = "0x1A475D0", Length = "0x8")]
48 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
49 get
50 {
51 throw null;
52 }
53 }
54
55 [global::Cpp2ILInjected.Token(Token = "0x17000013")]
56 public long BytesWritten
57 {
58 [global::Cpp2ILInjected.Token(Token = "0x600007D")]
59 [global::Cpp2ILInjected.Address(RVA = "0x1A475D8", Offset = "0x1A475D8", Length = "0x8")]
60 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
61 get
62 {
63 throw null;
64 }
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x17000014")]
68 public long BytesRead
69 {
70 [global::Cpp2ILInjected.Token(Token = "0x600007E")]
71 [global::Cpp2ILInjected.Address(RVA = "0x1A475E0", Offset = "0x1A475E0", Length = "0x8")]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
73 get
74 {
75 throw null;
76 }
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x600007F")]
80 [global::Cpp2ILInjected.Address(RVA = "0x1A475E8", Offset = "0x1A475E8", Length = "0xCC")]
81 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
82 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "PostProcessOutput", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipEntry), Member = "Write", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
85 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InvalidOperationException), Member = ".ctor", ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
87 public void Adjust(long delta)
88 {
89 throw null;
90 }
91
92 [global::Cpp2ILInjected.Token(Token = "0x6000080")]
93 [global::Cpp2ILInjected.Address(RVA = "0x1A476B4", Offset = "0x1A476B4", Length = "0x30")]
94 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
95 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
96 public override int Read(byte[] buffer, int offset, int count)
97 {
98 throw null;
99 }
100
101 [global::Cpp2ILInjected.Token(Token = "0x6000081")]
102 [global::Cpp2ILInjected.Address(RVA = "0x1A476E4", Offset = "0x1A476E4", Length = "0x40")]
103 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
104 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
105 public override void Write(byte[] buffer, int offset, int count)
106 {
107 throw null;
108 }
109
110 [global::Cpp2ILInjected.Token(Token = "0x17000015")]
111 public override bool CanRead
112 {
113 [global::Cpp2ILInjected.Token(Token = "0x6000082")]
114 [global::Cpp2ILInjected.Address(RVA = "0x1A47724", Offset = "0x1A47724", Length = "0x10")]
115 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
116 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
117 get
118 {
119 throw null;
120 }
121 }
122
123 [global::Cpp2ILInjected.Token(Token = "0x17000016")]
124 public override bool CanSeek
125 {
126 [global::Cpp2ILInjected.Token(Token = "0x6000083")]
127 [global::Cpp2ILInjected.Address(RVA = "0x1A47734", Offset = "0x1A47734", Length = "0x10")]
128 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
129 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
130 get
131 {
132 throw null;
133 }
134 }
135
136 [global::Cpp2ILInjected.Token(Token = "0x17000017")]
137 public override bool CanWrite
138 {
139 [global::Cpp2ILInjected.Token(Token = "0x6000084")]
140 [global::Cpp2ILInjected.Address(RVA = "0x1A47744", Offset = "0x1A47744", Length = "0x10")]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
142 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
143 get
144 {
145 throw null;
146 }
147 }
148
149 [global::Cpp2ILInjected.Token(Token = "0x6000085")]
150 [global::Cpp2ILInjected.Address(RVA = "0x1A47754", Offset = "0x1A47754", Length = "0x14")]
151 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
152 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
153 public override void Flush()
154 {
155 throw null;
156 }
157
158 [global::Cpp2ILInjected.Token(Token = "0x17000018")]
159 public override long Length
160 {
161 [global::Cpp2ILInjected.Token(Token = "0x6000086")]
162 [global::Cpp2ILInjected.Address(RVA = "0x1A47768", Offset = "0x1A47768", Length = "0x10")]
163 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
165 get
166 {
167 throw null;
168 }
169 }
170
171 [global::Cpp2ILInjected.Token(Token = "0x17000019")]
173 {
174 [global::Cpp2ILInjected.Token(Token = "0x6000087")]
175 [global::Cpp2ILInjected.Address(RVA = "0x1A47778", Offset = "0x1A47778", Length = "0x10")]
176 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ZipOutput), Member = "WriteCentralDirectoryStructure", MemberParameters = new object[]
177 {
178 typeof(Stream),
180 typeof(uint),
182 typeof(string),
184 }, ReturnType = typeof(bool))]
185 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
186 get
187 {
188 throw null;
189 }
190 }
191
192 [global::Cpp2ILInjected.Token(Token = "0x1700001A")]
193 public override long Position
194 {
195 [global::Cpp2ILInjected.Token(Token = "0x6000088")]
196 [global::Cpp2ILInjected.Address(RVA = "0x1A47788", Offset = "0x1A47788", Length = "0x10")]
197 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
198 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
199 get
200 {
201 throw null;
202 }
203 [global::Cpp2ILInjected.Token(Token = "0x6000089")]
204 [global::Cpp2ILInjected.Address(RVA = "0x1A47798", Offset = "0x1A47798", Length = "0x8C")]
205 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
206 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
207 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
208 set
209 {
210 throw null;
211 }
212 }
213
214 [global::Cpp2ILInjected.Token(Token = "0x600008A")]
215 [global::Cpp2ILInjected.Address(RVA = "0x1A47824", Offset = "0x1A47824", Length = "0x14")]
216 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
217 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
218 public override long Seek(long offset, SeekOrigin origin)
219 {
220 throw null;
221 }
222
223 [global::Cpp2ILInjected.Token(Token = "0x600008B")]
224 [global::Cpp2ILInjected.Address(RVA = "0x1A47838", Offset = "0x1A47838", Length = "0x14")]
225 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
226 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
227 public override void SetLength(long value)
228 {
229 throw null;
230 }
231
232 [global::Cpp2ILInjected.Token(Token = "0x4000033")]
233 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
234 private Stream _s;
235
236 [global::Cpp2ILInjected.Token(Token = "0x4000034")]
237 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
238 private long _bytesWritten;
239
240 [global::Cpp2ILInjected.Token(Token = "0x4000035")]
241 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
242 private long _bytesRead;
243
244 [global::Cpp2ILInjected.Token(Token = "0x4000036")]
245 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
246 private long _initialOffset;
247 }
248}
class f__AnonymousType0<< Count > j__TPar
override int Read(byte[] buffer, int offset, int count)
override long Seek(long offset, SeekOrigin origin)
override void Write(byte[] buffer, int offset, int count)
void Adjust(long delta)
CountingStream(Stream stream)
override void SetLength(long value)