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
Decoder.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Text
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200025E")]
9 [global::System.Serializable]
10 public abstract class Decoder
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x600147A")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1CB12F0", Offset = "0x1CB12F0", Length = "0x8")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding.DefaultDecoder), Member = ".ctor", MemberParameters = new object[] { typeof(Encoding) }, ReturnType = typeof(void))]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding.DefaultDecoder), Member = ".ctor", MemberParameters = new object[]
16 {
17 typeof(global::System.Runtime.Serialization.SerializationInfo),
18 typeof(global::System.Runtime.Serialization.StreamingContext)
19 }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "GetDecoder", ReturnType = typeof(Decoder))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.UTF16Decoder", Member = ".ctor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.SafeAsciiDecoder", Member = ".ctor", ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.Ucs4Decoder", Member = ".ctor", ReturnType = typeof(void))]
24 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
26 protected Decoder()
27 {
28 throw null;
29 }
30
31 [global::Cpp2ILInjected.Token(Token = "0x170001FF")]
33 {
34 [global::Cpp2ILInjected.Token(Token = "0x600147B")]
35 [global::Cpp2ILInjected.Address(RVA = "0x1CB12F8", Offset = "0x1CB12F8", Length = "0x8")]
36 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
37 get
38 {
39 throw null;
40 }
41 }
42
43 [global::Cpp2ILInjected.Token(Token = "0x17000200")]
45 {
46 [global::Cpp2ILInjected.Token(Token = "0x600147C")]
47 [global::Cpp2ILInjected.Address(RVA = "0x1CB0C84", Offset = "0x1CB0C84", Length = "0x34")]
48 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASCIIEncoding), Member = "GetCharCount", MemberParameters = new object[]
50 {
51 typeof(byte*),
52 typeof(int),
54 }, ReturnType = typeof(int))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASCIIEncoding), Member = "GetChars", MemberParameters = new object[]
56 {
57 typeof(byte*),
58 typeof(int),
59 typeof(char*),
60 typeof(int),
62 }, ReturnType = typeof(int))]
63 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF32Encoding), Member = "GetCharCount", MemberParameters = new object[]
64 {
65 typeof(byte*),
66 typeof(int),
68 }, ReturnType = typeof(int))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF32Encoding), Member = "GetChars", MemberParameters = new object[]
70 {
71 typeof(byte*),
72 typeof(int),
73 typeof(char*),
74 typeof(int),
76 }, ReturnType = typeof(int))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetCharCount", MemberParameters = new object[]
78 {
79 typeof(byte*),
80 typeof(int),
82 }, ReturnType = typeof(int))]
83 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetChars", MemberParameters = new object[]
84 {
85 typeof(byte*),
86 typeof(int),
87 typeof(char*),
88 typeof(int),
90 }, ReturnType = typeof(int))]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetCharCount", MemberParameters = new object[]
92 {
93 typeof(byte*),
94 typeof(int),
96 }, ReturnType = typeof(int))]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetChars", MemberParameters = new object[]
98 {
99 typeof(byte*),
100 typeof(int),
101 typeof(char*),
102 typeof(int),
104 }, ReturnType = typeof(int))]
105 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding.EncodingCharBuffer), Member = ".ctor", MemberParameters = new object[]
106 {
109 typeof(char*),
110 typeof(int),
111 typeof(byte*),
112 typeof(int)
113 }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "ThrowCharsOverflow", MemberParameters = new object[]
115 {
117 typeof(bool)
118 }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 20)]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallback), Member = "get_ReplacementFallback", ReturnType = typeof(DecoderFallback))]
121 get
122 {
123 throw null;
124 }
125 }
126
127 [global::Cpp2ILInjected.Token(Token = "0x17000201")]
129 {
130 [global::Cpp2ILInjected.Token(Token = "0x600147D")]
131 [global::Cpp2ILInjected.Address(RVA = "0x1CB1300", Offset = "0x1CB1300", Length = "0x10")]
132 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "ThrowCharsOverflow", MemberParameters = new object[]
134 {
136 typeof(bool)
137 }, ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
139 get
140 {
141 throw null;
142 }
143 }
144
145 [global::Cpp2ILInjected.Token(Token = "0x600147E")]
146 [global::Cpp2ILInjected.Address(RVA = "0x1CB1310", Offset = "0x1CB1310", Length = "0x108")]
147 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
148 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
149 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
150 public virtual void Reset()
151 {
152 throw null;
153 }
154
155 [global::Cpp2ILInjected.Token(Token = "0x600147F")]
156 public abstract int GetCharCount(byte[] bytes, int index, int count);
157
158 [global::Cpp2ILInjected.Token(Token = "0x6001480")]
159 [global::Cpp2ILInjected.Address(RVA = "0x1CB1418", Offset = "0x1CB1418", Length = "0xC")]
160 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
161 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
162 public virtual int GetCharCount(byte[] bytes, int index, int count, bool flush)
163 {
164 throw null;
165 }
166
167 [global::System.CLSCompliant(false)]
168 [global::Cpp2ILInjected.Token(Token = "0x6001481")]
169 [global::Cpp2ILInjected.Address(RVA = "0x1CB1424", Offset = "0x1CB1424", Length = "0x13C")]
170 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
172 {
173 typeof(string),
174 typeof(string)
175 }, ReturnType = typeof(void))]
176 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
177 {
178 typeof(string),
179 typeof(string)
180 }, ReturnType = typeof(void))]
181 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
182 public unsafe virtual int GetCharCount(byte* bytes, int count, bool flush)
183 {
184 throw null;
185 }
186
187 [global::Cpp2ILInjected.Token(Token = "0x6001482")]
188 public abstract int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex);
189
190 [global::Cpp2ILInjected.Token(Token = "0x6001483")]
191 [global::Cpp2ILInjected.Address(RVA = "0x1CB1560", Offset = "0x1CB1560", Length = "0xC")]
192 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
193 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
194 public virtual int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, bool flush)
195 {
196 throw null;
197 }
198
199 [global::System.CLSCompliant(false)]
200 [global::Cpp2ILInjected.Token(Token = "0x6001484")]
201 [global::Cpp2ILInjected.Address(RVA = "0x1CB156C", Offset = "0x1CB156C", Length = "0x1E8")]
202 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
205 {
206 typeof(string),
207 typeof(string)
208 }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
210 {
211 typeof(string),
212 typeof(string)
213 }, ReturnType = typeof(void))]
214 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
215 public unsafe virtual int GetChars(byte* bytes, int byteCount, char* chars, int charCount, bool flush)
216 {
217 throw null;
218 }
219
220 [global::Cpp2ILInjected.Token(Token = "0x6001485")]
221 [global::Cpp2ILInjected.Address(RVA = "0x1CB1754", Offset = "0x1CB1754", Length = "0xA8")]
222 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
223 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
224 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
225 public virtual int GetChars(global::System.ReadOnlySpan<byte> bytes, global::System.Span<char> chars, bool flush)
226 {
227 throw null;
228 }
229
230 [global::Cpp2ILInjected.Token(Token = "0x6001486")]
231 [global::Cpp2ILInjected.Address(RVA = "0x1CB17FC", Offset = "0x1CB17FC", Length = "0x2DC")]
232 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
233 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
234 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
236 {
237 typeof(string),
238 typeof(string)
239 }, ReturnType = typeof(void))]
240 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
241 {
242 typeof(string),
243 typeof(string)
244 }, ReturnType = typeof(void))]
245 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
246 public virtual void Convert(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
247 {
248 throw null;
249 }
250
251 [global::System.CLSCompliant(false)]
252 [global::Cpp2ILInjected.Token(Token = "0x6001487")]
253 [global::Cpp2ILInjected.Address(RVA = "0x1CB1AD8", Offset = "0x1CB1AD8", Length = "0x220")]
254 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
255 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
257 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
258 {
259 typeof(string),
260 typeof(string)
261 }, ReturnType = typeof(void))]
262 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
263 {
264 typeof(string),
265 typeof(string)
266 }, ReturnType = typeof(void))]
267 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
268 public unsafe virtual void Convert(byte* bytes, int byteCount, char* chars, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
269 {
270 throw null;
271 }
272
273 [global::Cpp2ILInjected.Token(Token = "0x4000AE4")]
274 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
276
277 [global::Cpp2ILInjected.Token(Token = "0x4000AE5")]
278 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
280 }
281}
class f__AnonymousType0<< Count > j__TPar
virtual unsafe void Convert(byte *bytes, int byteCount, char *chars, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
Definition Decoder.cs:268
DecoderFallback _fallback
Definition Decoder.cs:275
DecoderFallback Fallback
Definition Decoder.cs:33
virtual int GetChars(global::System.ReadOnlySpan< byte > bytes, global::System.Span< char > chars, bool flush)
Definition Decoder.cs:225
virtual void Convert(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
Definition Decoder.cs:246
virtual unsafe int GetChars(byte *bytes, int byteCount, char *chars, int charCount, bool flush)
Definition Decoder.cs:215
virtual int GetCharCount(byte[] bytes, int index, int count, bool flush)
Definition Decoder.cs:162
virtual void Reset()
Definition Decoder.cs:150
DecoderFallbackBuffer _fallbackBuffer
Definition Decoder.cs:279
bool InternalHasFallbackBuffer
Definition Decoder.cs:129
virtual unsafe int GetCharCount(byte *bytes, int count, bool flush)
Definition Decoder.cs:182
unsafe DecoderFallbackBuffer FallbackBuffer
Definition Decoder.cs:45
int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
virtual int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, bool flush)
Definition Decoder.cs:194
int GetCharCount(byte[] bytes, int index, int count)