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
DeflateStreamNative.cs
Go to the documentation of this file.
1using System;
5using Mono.Util;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x2000440")]
10 internal class DeflateStreamNative
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6001DDE")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1E95EAC", Offset = "0x1E95EAC", Length = "0x8")]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
17 {
18 throw null;
19 }
20
21 [global::Cpp2ILInjected.Token(Token = "0x6001DDF")]
22 [global::Cpp2ILInjected.Address(RVA = "0x1E947C4", Offset = "0x1E947C4", Length = "0x134")]
23 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
24 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStream), Member = ".ctor", MemberParameters = new object[]
25 {
28 typeof(bool),
29 typeof(bool)
30 }, ReturnType = typeof(void))]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "Alloc", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(GCHandle))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative.UnmanagedReadOrWrite), Member = ".ctor", MemberParameters = new object[]
35 {
36 typeof(object),
38 }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "ToIntPtr", MemberParameters = new object[] { typeof(GCHandle) }, ReturnType = typeof(IntPtr))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "CreateZStream", MemberParameters = new object[]
41 {
42 typeof(CompressionMode),
43 typeof(bool),
44 typeof(DeflateStreamNative.UnmanagedReadOrWrite),
46 }, ReturnType = typeof(DeflateStreamNative.SafeDeflateStreamHandle))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
50 {
51 throw null;
52 }
53
54 [global::Cpp2ILInjected.Token(Token = "0x6001DE0")]
55 [global::Cpp2ILInjected.Address(RVA = "0x1E96010", Offset = "0x1E96010", Length = "0x98")]
56 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
57 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "Finalize", ReturnType = typeof(void))]
60 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
61 protected override void Finalize()
62 {
63 throw null;
64 }
65
66 [global::Cpp2ILInjected.Token(Token = "0x6001DE1")]
67 [global::Cpp2ILInjected.Address(RVA = "0x1E94A54", Offset = "0x1E94A54", Length = "0xFC")]
68 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStream), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "Create", MemberParameters = new object[]
71 {
73 typeof(CompressionMode),
74 typeof(bool)
75 }, ReturnType = typeof(DeflateStreamNative))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "Finalize", ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
78 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = "Dispose", ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "get_IsAllocated", ReturnType = typeof(bool))]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "Free", ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
83 public void Dispose(bool disposing)
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x6001DE2")]
89 [global::Cpp2ILInjected.Address(RVA = "0x1E95104", Offset = "0x1E95104", Length = "0x54")]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
91 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "Flush", MemberParameters = new object[] { typeof(DeflateStreamNative.SafeDeflateStreamHandle) }, ReturnType = typeof(int))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "CheckResult", MemberParameters = new object[]
93 {
94 typeof(int),
95 typeof(string)
96 }, ReturnType = typeof(void))]
97 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
98 public void Flush()
99 {
100 throw null;
101 }
102
103 [global::Cpp2ILInjected.Token(Token = "0x6001DE3")]
104 [global::Cpp2ILInjected.Address(RVA = "0x1E94B84", Offset = "0x1E94B84", Length = "0x78")]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStream), Member = "Read", MemberParameters = new object[]
106 {
107 typeof(byte[]),
108 typeof(int),
109 typeof(int)
110 }, ReturnType = typeof(int))]
111 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
112 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "ReadZStream", MemberParameters = new object[]
113 {
114 typeof(DeflateStreamNative.SafeDeflateStreamHandle),
115 typeof(IntPtr),
116 typeof(int)
117 }, ReturnType = typeof(int))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "CheckResult", MemberParameters = new object[]
119 {
120 typeof(int),
121 typeof(string)
122 }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
124 public int ReadZStream(IntPtr buffer, int length)
125 {
126 throw null;
127 }
128
129 [global::Cpp2ILInjected.Token(Token = "0x6001DE4")]
130 [global::Cpp2ILInjected.Address(RVA = "0x1E94E10", Offset = "0x1E94E10", Length = "0x6C")]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStream), Member = "Write", MemberParameters = new object[]
132 {
133 typeof(byte[]),
134 typeof(int),
135 typeof(int)
136 }, ReturnType = typeof(void))]
137 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "WriteZStream", MemberParameters = new object[]
139 {
140 typeof(DeflateStreamNative.SafeDeflateStreamHandle),
141 typeof(IntPtr),
142 typeof(int)
143 }, ReturnType = typeof(int))]
144 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "CheckResult", MemberParameters = new object[]
145 {
146 typeof(int),
147 typeof(string)
148 }, ReturnType = typeof(void))]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
150 public void WriteZStream(IntPtr buffer, int length)
151 {
152 throw null;
153 }
154
156 [global::Cpp2ILInjected.Token(Token = "0x6001DE5")]
157 [global::Cpp2ILInjected.Address(RVA = "0x1E95D4C", Offset = "0x1E95D4C", Length = "0xB0")]
158 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
159 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "FromIntPtr", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(GCHandle))]
161 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "get_Target", ReturnType = typeof(object))]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "UnmanagedRead", MemberParameters = new object[]
163 {
164 typeof(IntPtr),
165 typeof(int)
166 }, ReturnType = typeof(int))]
167 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
168 private static int UnmanagedRead(IntPtr buffer, int length, IntPtr data)
169 {
170 throw null;
171 }
172
173 [global::Cpp2ILInjected.Token(Token = "0x6001DE6")]
174 [global::Cpp2ILInjected.Address(RVA = "0x1E96330", Offset = "0x1E96330", Length = "0x190")]
175 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
176 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "UnmanagedRead", MemberParameters = new object[]
177 {
178 typeof(IntPtr),
179 typeof(int),
181 }, ReturnType = typeof(int))]
182 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
184 {
185 typeof(int),
186 typeof(int)
187 }, ReturnType = typeof(int))]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "Copy", MemberParameters = new object[]
189 {
190 typeof(byte[]),
191 typeof(int),
192 typeof(IntPtr),
193 typeof(int)
194 }, ReturnType = typeof(void))]
195 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
196 private int UnmanagedRead(IntPtr buffer, int length)
197 {
198 throw null;
199 }
200
202 [global::Cpp2ILInjected.Token(Token = "0x6001DE7")]
203 [global::Cpp2ILInjected.Address(RVA = "0x1E95DFC", Offset = "0x1E95DFC", Length = "0xB0")]
204 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
205 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "FromIntPtr", MemberParameters = new object[] { typeof(IntPtr) }, ReturnType = typeof(GCHandle))]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(GCHandle), Member = "get_Target", ReturnType = typeof(object))]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative), Member = "UnmanagedWrite", MemberParameters = new object[]
209 {
210 typeof(IntPtr),
211 typeof(int)
212 }, ReturnType = typeof(int))]
213 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
214 private static int UnmanagedWrite(IntPtr buffer, int length, IntPtr data)
215 {
216 throw null;
217 }
218
219 [global::Cpp2ILInjected.Token(Token = "0x6001DE8")]
220 [global::Cpp2ILInjected.Address(RVA = "0x1E964C0", Offset = "0x1E964C0", Length = "0x1C0")]
221 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
222 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "UnmanagedWrite", MemberParameters = new object[]
223 {
224 typeof(IntPtr),
225 typeof(int),
227 }, ReturnType = typeof(int))]
228 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
229 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Math), Member = "Min", MemberParameters = new object[]
230 {
231 typeof(int),
232 typeof(int)
233 }, ReturnType = typeof(int))]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Marshal), Member = "Copy", MemberParameters = new object[]
235 {
236 typeof(IntPtr),
237 typeof(byte[]),
238 typeof(int),
239 typeof(int)
240 }, ReturnType = typeof(void))]
241 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
242 private int UnmanagedWrite(IntPtr buffer, int length)
243 {
244 throw null;
245 }
246
247 [global::Cpp2ILInjected.Token(Token = "0x6001DE9")]
248 [global::Cpp2ILInjected.Address(RVA = "0x1E9610C", Offset = "0x1E9610C", Length = "0x12C")]
249 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "Flush", ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "ReadZStream", MemberParameters = new object[]
252 {
253 typeof(IntPtr),
254 typeof(int)
255 }, ReturnType = typeof(int))]
256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "WriteZStream", MemberParameters = new object[]
257 {
258 typeof(IntPtr),
259 typeof(int)
260 }, ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
262 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
263 {
264 typeof(string),
265 typeof(string),
266 typeof(string)
267 }, ReturnType = typeof(string))]
268 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IOException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
269 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
270 private void CheckResult(int result, string where)
271 {
272 throw null;
273 }
274
275 [global::Cpp2ILInjected.Token(Token = "0x6001DEA")]
276 [global::Cpp2ILInjected.Address(RVA = "0x1E95F78", Offset = "0x1E95F78", Length = "0x98")]
277 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "Create", MemberParameters = new object[]
278 {
279 typeof(Stream),
281 typeof(bool)
282 }, ReturnType = typeof(DeflateStreamNative))]
283 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
284 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DeflateStreamNative.SafeDeflateStreamHandle), Member = ".ctor", ReturnType = typeof(void))]
285 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
286 [PreserveSig]
288
289 [global::Cpp2ILInjected.Token(Token = "0x6001DEB")]
290 [global::Cpp2ILInjected.Address(RVA = "0x1E966D8", Offset = "0x1E966D8", Length = "0x4")]
291 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
292 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
293 [PreserveSig]
294 private static extern int CloseZStream(IntPtr stream);
295
296 [global::Cpp2ILInjected.Token(Token = "0x6001DEC")]
297 [global::Cpp2ILInjected.Address(RVA = "0x1E960A8", Offset = "0x1E960A8", Length = "0x64")]
298 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "Flush", ReturnType = typeof(void))]
299 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
300 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
301 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
302 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
303 [PreserveSig]
304 private static extern int Flush(DeflateStreamNative.SafeDeflateStreamHandle stream);
305
306 [global::Cpp2ILInjected.Token(Token = "0x6001DED")]
307 [global::Cpp2ILInjected.Address(RVA = "0x1E96238", Offset = "0x1E96238", Length = "0x7C")]
308 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "ReadZStream", MemberParameters = new object[]
309 {
310 typeof(IntPtr),
311 typeof(int)
312 }, ReturnType = typeof(int))]
313 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
314 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
315 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
316 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
317 [PreserveSig]
318 private static extern int ReadZStream(DeflateStreamNative.SafeDeflateStreamHandle stream, IntPtr buffer, int length);
319
320 [global::Cpp2ILInjected.Token(Token = "0x6001DEE")]
321 [global::Cpp2ILInjected.Address(RVA = "0x1E962B4", Offset = "0x1E962B4", Length = "0x7C")]
322 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "WriteZStream", MemberParameters = new object[]
323 {
324 typeof(IntPtr),
325 typeof(int)
326 }, ReturnType = typeof(void))]
327 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
329 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
330 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
331 [PreserveSig]
332 private static extern int WriteZStream(DeflateStreamNative.SafeDeflateStreamHandle stream, IntPtr buffer, int length);
333
334 [global::Cpp2ILInjected.Token(Token = "0x400140F")]
335 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
337
338 [global::Cpp2ILInjected.Token(Token = "0x4001410")]
339 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
341
342 [global::Cpp2ILInjected.Token(Token = "0x4001411")]
343 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
345
346 [global::Cpp2ILInjected.Token(Token = "0x4001412")]
347 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
348 private GCHandle data;
349
350 [global::Cpp2ILInjected.Token(Token = "0x4001413")]
351 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
352 private bool disposed;
353
354 [global::Cpp2ILInjected.Token(Token = "0x4001414")]
355 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
356 private byte[] io_buffer;
357
358 [global::Cpp2ILInjected.Token(Token = "0x4001415")]
359 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
361
363 [global::Cpp2ILInjected.Token(Token = "0x2000441")]
365
366 [global::Cpp2ILInjected.Token(Token = "0x2000442")]
367 private sealed class SafeDeflateStreamHandle : SafeHandle
368 {
369 [global::Cpp2ILInjected.Token(Token = "0x170006BB")]
370 public override bool IsInvalid
371 {
372 [global::Cpp2ILInjected.Token(Token = "0x6001DF1")]
373 [global::Cpp2ILInjected.Address(RVA = "0x1E966F0", Offset = "0x1E966F0", Length = "0x54")]
374 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
375 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IntPtr), Member = "op_Equality", MemberParameters = new object[]
376 {
377 typeof(IntPtr),
379 }, ReturnType = typeof(bool))]
380 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
381 get
382 {
383 throw null;
384 }
385 }
386
387 [global::Cpp2ILInjected.Token(Token = "0x6001DF2")]
388 [global::Cpp2ILInjected.Address(RVA = "0x1E96680", Offset = "0x1E96680", Length = "0x58")]
389 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DeflateStreamNative), Member = "CreateZStream", MemberParameters = new object[]
390 {
392 typeof(bool),
393 "System.IO.Compression.DeflateStreamNative.UnmanagedReadOrWrite",
396 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
397 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(SafeHandle), Member = ".ctor", MemberParameters = new object[]
398 {
399 typeof(IntPtr),
400 typeof(bool)
401 }, ReturnType = typeof(void))]
402 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
404 {
405 throw null;
406 }
407
408 [global::Cpp2ILInjected.Token(Token = "0x6001DF3")]
409 [global::Cpp2ILInjected.Address(RVA = "0x1E96744", Offset = "0x1E96744", Length = "0x88")]
410 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
411 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
412 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
413 protected override bool ReleaseHandle()
414 {
415 throw null;
416 }
417 }
418 }
419}
class f__AnonymousType0<< Count > j__TPar
static int UnmanagedRead(IntPtr buffer, int length, IntPtr data)
static int UnmanagedWrite(IntPtr buffer, int length, IntPtr data)
void CheckResult(int result, string where)
delegate int UnmanagedReadOrWrite(IntPtr buffer, int length, IntPtr data)
static int WriteZStream(DeflateStreamNative.SafeDeflateStreamHandle stream, IntPtr buffer, int length)
DeflateStreamNative.UnmanagedReadOrWrite feeder
static DeflateStreamNative.SafeDeflateStreamHandle CreateZStream(CompressionMode compress, bool gzip, DeflateStreamNative.UnmanagedReadOrWrite feeder, IntPtr data)
static int CloseZStream(IntPtr stream)
int UnmanagedWrite(IntPtr buffer, int length)
int ReadZStream(IntPtr buffer, int length)
static int Flush(DeflateStreamNative.SafeDeflateStreamHandle stream)
int UnmanagedRead(IntPtr buffer, int length)
static int ReadZStream(DeflateStreamNative.SafeDeflateStreamHandle stream, IntPtr buffer, int length)
void WriteZStream(IntPtr buffer, int length)
DeflateStreamNative.SafeDeflateStreamHandle z_stream
static DeflateStreamNative Create(Stream compressedStream, CompressionMode mode, bool gzip)