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
Encoder.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Text
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000269")]
9 [global::System.Serializable]
10 public abstract class Encoder
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x60014CD")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1CB3A10", Offset = "0x1CB3A10", Length = "0x8")]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncoderNLS), Member = ".ctor", MemberParameters = new object[] { typeof(Encoding) }, ReturnType = typeof(void))]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncodingNLS), Member = "GetEncoder", ReturnType = typeof(Encoder))]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF32Encoding), Member = "GetEncoder", ReturnType = typeof(Encoder))]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.UTF7Encoding.Encoder", Member = ".ctor", MemberParameters = new object[] { typeof(UTF7Encoding) }, ReturnType = typeof(void))]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF7Encoding), Member = "GetEncoder", ReturnType = typeof(Encoder))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.UTF8Encoding.UTF8Encoder", Member = ".ctor", MemberParameters = new object[] { typeof(UTF8Encoding) }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetEncoder", ReturnType = typeof(Encoder))]
21 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetEncoder", ReturnType = typeof(Encoder))]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding.DefaultEncoder), Member = ".ctor", MemberParameters = new object[] { typeof(Encoding) }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding.DefaultEncoder), Member = ".ctor", MemberParameters = new object[]
24 {
25 typeof(global::System.Runtime.Serialization.SerializationInfo),
26 typeof(global::System.Runtime.Serialization.StreamingContext)
27 }, ReturnType = typeof(void))]
28 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "GetEncoder", ReturnType = typeof(Encoder))]
29 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 11)]
30 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
31 protected Encoder()
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x17000210")]
37 public EncoderFallback Fallback
38 {
39 [global::Cpp2ILInjected.Token(Token = "0x60014CE")]
40 [global::Cpp2ILInjected.Address(RVA = "0x1CB3A18", Offset = "0x1CB3A18", Length = "0x8")]
41 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
42 get
43 {
44 throw null;
45 }
46 }
47
48 [global::Cpp2ILInjected.Token(Token = "0x17000211")]
49 public unsafe EncoderFallbackBuffer FallbackBuffer
50 {
51 [global::Cpp2ILInjected.Token(Token = "0x60014CF")]
52 [global::Cpp2ILInjected.Address(RVA = "0x1CB06CC", Offset = "0x1CB06CC", Length = "0x34")]
53 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASCIIEncoding), Member = "GetByteCount", MemberParameters = new object[]
55 {
56 typeof(char*),
57 typeof(int),
59 }, ReturnType = typeof(int))]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASCIIEncoding), Member = "GetBytes", MemberParameters = new object[]
61 {
62 typeof(char*),
63 typeof(int),
64 typeof(byte*),
65 typeof(int),
67 }, ReturnType = typeof(int))]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Latin1Encoding), Member = "GetByteCount", MemberParameters = new object[]
69 {
70 typeof(char*),
71 typeof(int),
73 }, ReturnType = typeof(int))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Latin1Encoding), Member = "GetBytes", MemberParameters = new object[]
75 {
76 typeof(char*),
77 typeof(int),
78 typeof(byte*),
79 typeof(int),
81 }, ReturnType = typeof(int))]
82 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF32Encoding), Member = "GetByteCount", MemberParameters = new object[]
83 {
84 typeof(char*),
85 typeof(int),
87 }, ReturnType = typeof(int))]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF32Encoding), Member = "GetBytes", MemberParameters = new object[]
89 {
90 typeof(char*),
91 typeof(int),
92 typeof(byte*),
93 typeof(int),
95 }, ReturnType = typeof(int))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetByteCount", MemberParameters = new object[]
97 {
98 typeof(char*),
99 typeof(int),
101 }, ReturnType = typeof(int))]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetBytes", MemberParameters = new object[]
103 {
104 typeof(char*),
105 typeof(int),
106 typeof(byte*),
107 typeof(int),
109 }, ReturnType = typeof(int))]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetByteCount", MemberParameters = new object[]
111 {
112 typeof(char*),
113 typeof(int),
115 }, ReturnType = typeof(int))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetBytes", MemberParameters = new object[]
117 {
118 typeof(char*),
119 typeof(int),
120 typeof(byte*),
121 typeof(int),
123 }, ReturnType = typeof(int))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding.EncodingByteBuffer), Member = ".ctor", MemberParameters = new object[]
125 {
128 typeof(byte*),
129 typeof(int),
130 typeof(char*),
131 typeof(int)
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "ThrowBytesOverflow", MemberParameters = new object[]
134 {
136 typeof(bool)
137 }, ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 26)]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallback), Member = "get_ReplacementFallback", ReturnType = typeof(EncoderFallback))]
140 get
141 {
142 throw null;
143 }
144 }
145
146 [global::Cpp2ILInjected.Token(Token = "0x17000212")]
147 internal unsafe bool InternalHasFallbackBuffer
148 {
149 [global::Cpp2ILInjected.Token(Token = "0x60014D0")]
150 [global::Cpp2ILInjected.Address(RVA = "0x1CB06BC", Offset = "0x1CB06BC", Length = "0x10")]
151 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
152 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetByteCount", MemberParameters = new object[]
153 {
154 typeof(char*),
155 typeof(int),
157 }, ReturnType = typeof(int))]
158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetBytes", MemberParameters = new object[]
159 {
160 typeof(char*),
161 typeof(int),
162 typeof(byte*),
163 typeof(int),
165 }, ReturnType = typeof(int))]
166 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetByteCount", MemberParameters = new object[]
167 {
168 typeof(char*),
169 typeof(int),
171 }, ReturnType = typeof(int))]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnicodeEncoding), Member = "GetBytes", MemberParameters = new object[]
173 {
174 typeof(char*),
175 typeof(int),
176 typeof(byte*),
177 typeof(int),
179 }, ReturnType = typeof(int))]
180 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding.EncodingByteBuffer), Member = ".ctor", MemberParameters = new object[]
181 {
184 typeof(byte*),
185 typeof(int),
186 typeof(char*),
187 typeof(int)
188 }, ReturnType = typeof(void))]
189 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "ThrowBytesOverflow", MemberParameters = new object[]
190 {
192 typeof(bool)
193 }, ReturnType = typeof(void))]
194 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
195 get
196 {
197 throw null;
198 }
199 }
200
201 [global::Cpp2ILInjected.Token(Token = "0x60014D1")]
202 [global::Cpp2ILInjected.Address(RVA = "0x1CB3A20", Offset = "0x1CB3A20", Length = "0xE4")]
203 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
204 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
205 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
206 public virtual void Reset()
207 {
208 throw null;
209 }
210
211 [global::Cpp2ILInjected.Token(Token = "0x60014D2")]
212 public abstract int GetByteCount(char[] chars, int index, int count, bool flush);
213
214 [global::System.CLSCompliant(false)]
215 [global::Cpp2ILInjected.Token(Token = "0x60014D3")]
216 [global::Cpp2ILInjected.Address(RVA = "0x1CB3B04", Offset = "0x1CB3B04", Length = "0x144")]
217 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
218 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
219 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
220 {
221 typeof(string),
222 typeof(string)
223 }, ReturnType = typeof(void))]
224 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
225 {
226 typeof(string),
227 typeof(string)
228 }, ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
230 public unsafe virtual int GetByteCount(char* chars, int count, bool flush)
231 {
232 throw null;
233 }
234
235 [global::Cpp2ILInjected.Token(Token = "0x60014D4")]
236 public abstract int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, bool flush);
237
238 [global::System.CLSCompliant(false)]
239 [global::Cpp2ILInjected.Token(Token = "0x60014D5")]
240 [global::Cpp2ILInjected.Address(RVA = "0x1CB3C48", Offset = "0x1CB3C48", Length = "0x1E8")]
241 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
242 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
243 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
244 {
245 typeof(string),
246 typeof(string)
247 }, ReturnType = typeof(void))]
248 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
249 {
250 typeof(string),
251 typeof(string)
252 }, ReturnType = typeof(void))]
253 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
254 public unsafe virtual int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, bool flush)
255 {
256 throw null;
257 }
258
259 [global::Cpp2ILInjected.Token(Token = "0x60014D6")]
260 [global::Cpp2ILInjected.Address(RVA = "0x1CB3E30", Offset = "0x1CB3E30", Length = "0x2DC")]
261 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
265 {
266 typeof(string),
267 typeof(string)
268 }, ReturnType = typeof(void))]
269 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
270 {
271 typeof(string),
272 typeof(string)
273 }, ReturnType = typeof(void))]
274 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
275 public virtual void Convert(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed)
276 {
277 throw null;
278 }
279
280 [global::System.CLSCompliant(false)]
281 [global::Cpp2ILInjected.Token(Token = "0x60014D7")]
282 [global::Cpp2ILInjected.Address(RVA = "0x1CB410C", Offset = "0x1CB410C", Length = "0x220")]
283 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
284 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
285 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
286 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
287 {
288 typeof(string),
289 typeof(string)
290 }, ReturnType = typeof(void))]
291 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
292 {
293 typeof(string),
294 typeof(string)
295 }, ReturnType = typeof(void))]
296 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
297 public unsafe virtual void Convert(char* chars, int charCount, byte* bytes, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed)
298 {
299 throw null;
300 }
301
302 [global::Cpp2ILInjected.Token(Token = "0x4000AFC")]
303 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
305
306 [global::Cpp2ILInjected.Token(Token = "0x4000AFD")]
307 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
309 }
310}
class f__AnonymousType0<< Count > j__TPar
virtual unsafe int GetByteCount(char *chars, int count, bool flush)
Definition Encoder.cs:230
int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, bool flush)
virtual void Reset()
Definition Encoder.cs:206
EncoderFallbackBuffer _fallbackBuffer
Definition Encoder.cs:308
EncoderFallback _fallback
Definition Encoder.cs:304
virtual unsafe int GetBytes(char *chars, int charCount, byte *bytes, int byteCount, bool flush)
Definition Encoder.cs:254
virtual unsafe void Convert(char *chars, int charCount, byte *bytes, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed)
Definition Encoder.cs:297
virtual void Convert(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed)
Definition Encoder.cs:275
int GetByteCount(char[] chars, int index, int count, bool flush)