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
UTF8Encoding.cs
Go to the documentation of this file.
1using System;
2using System.IO;
9
10namespace System.Text
11{
12 [global::Cpp2ILInjected.Token(Token = "0x2000281")]
13 [global::System.Serializable]
14 public class UTF8Encoding : Encoding
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x60015D5")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1ADC2D0", Offset = "0x1ADC2D0", Length = "0x20")]
18 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Xna.Framework.TitleContainer", Member = "OpenStream", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.IO.Stream))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.BinaryReader), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.IO.Stream) }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
23 public UTF8Encoding()
24 {
25 throw null;
26 }
27
28 [global::Cpp2ILInjected.Token(Token = "0x60015D6")]
29 [global::Cpp2ILInjected.Address(RVA = "0x1ADC2F0", Offset = "0x1ADC2F0", Length = "0x30")]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "get_UTF8", ReturnType = typeof(Encoding))]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.PasswordDeriveBytes), Member = ".ctor", MemberParameters = new object[]
32 {
33 typeof(string),
34 typeof(byte[]),
35 typeof(string),
36 typeof(int),
37 typeof(global::System.Security.Cryptography.CspParameters)
38 }, ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Newtonsoft.Json.Bson.BsonBinaryWriter", Member = ".cctor", ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
43 {
44 throw null;
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x60015D7")]
48 [global::Cpp2ILInjected.Address(RVA = "0x1ADC320", Offset = "0x1ADC320", Length = "0x60")]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncodingHelper), Member = "get_UTF8Unmarked", ReturnType = typeof(Encoding))]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Runtime.Serialization.Formatters.Binary.__BinaryParser), Member = ".cctor", ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.BinaryWriter), Member = ".ctor", ReturnType = typeof(void))]
52 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.BinaryWriter), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.IO.Stream) }, ReturnType = typeof(void))]
53 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Security.Cryptography.DerSequenceReader.<>c", Member = "<ReadT61String>b__45_0", ReturnType = typeof(Encoding))]
54 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.HttpListenerRequestUriBuilder", Member = ".cctor", ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.XmlTextReaderImpl", Member = "DetectEncoding", ReturnType = typeof(Encoding))]
56 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.XmlTextReaderImpl", Member = "CheckEncoding", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Encoding))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.XmlTextReaderImpl", Member = "SwitchEncodingToUTF8", ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "UnityEngine.TextAsset.EncodingUtility", Member = ".cctor", ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
60 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
61 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
63 {
64 throw null;
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x60015D8")]
68 [global::Cpp2ILInjected.Address(RVA = "0x1ADC380", Offset = "0x1ADC380", Length = "0xC8")]
69 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
70 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallback), Member = "get_ExceptionFallback", ReturnType = typeof(EncoderFallback))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallback), Member = "get_ExceptionFallback", ReturnType = typeof(DecoderFallback))]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderReplacementFallback), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
73 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderReplacementFallback), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
75 internal override void SetDefaultFallbacks()
76 {
77 throw null;
78 }
79
80 [global::Cpp2ILInjected.Token(Token = "0x60015D9")]
81 [global::Cpp2ILInjected.Address(RVA = "0x1ADC448", Offset = "0x1ADC448", Length = "0x178")]
82 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
83 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
84 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
85 {
86 typeof(string),
87 typeof(string)
88 }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
90 {
91 typeof(string),
92 typeof(string)
93 }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
95 public override int GetByteCount(char[] chars, int index, int count)
96 {
97 throw null;
98 }
99
100 [global::Cpp2ILInjected.Token(Token = "0x60015DA")]
101 [global::Cpp2ILInjected.Address(RVA = "0x1ADC5C0", Offset = "0x1ADC5C0", Length = "0x8C")]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
106 public override int GetByteCount(string chars)
107 {
108 throw null;
109 }
110
111 [global::System.CLSCompliant(false)]
112 [global::Cpp2ILInjected.Token(Token = "0x60015DB")]
113 [global::Cpp2ILInjected.Address(RVA = "0x1ADC64C", Offset = "0x1ADC64C", Length = "0xD0")]
114 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
115 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
116 {
117 typeof(string),
118 typeof(string)
119 }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
121 {
122 typeof(string),
123 typeof(string)
124 }, ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
126 public unsafe override int GetByteCount(char* chars, int count)
127 {
128 throw null;
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x60015DC")]
132 [global::Cpp2ILInjected.Address(RVA = "0x1ADC71C", Offset = "0x1ADC71C", Length = "0x248")]
133 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
134 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal), Member = "GetReference", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = "T&")]
138 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
139 {
140 typeof(string),
141 typeof(string)
142 }, ReturnType = typeof(void))]
143 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
144 {
145 typeof(string),
146 typeof(string)
147 }, ReturnType = typeof(void))]
148 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
149 public override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)
150 {
151 throw null;
152 }
153
154 [global::Cpp2ILInjected.Token(Token = "0x60015DD")]
155 [global::Cpp2ILInjected.Address(RVA = "0x1ADC964", Offset = "0x1ADC964", Length = "0x264")]
156 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal), Member = "GetReference", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = "T&")]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
161 {
162 typeof(string),
163 typeof(string)
164 }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
166 {
167 typeof(string),
168 typeof(string)
169 }, ReturnType = typeof(void))]
170 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
171 public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
172 {
173 throw null;
174 }
175
176 [global::System.CLSCompliant(false)]
177 [global::Cpp2ILInjected.Token(Token = "0x60015DE")]
178 [global::Cpp2ILInjected.Address(RVA = "0x1ADCBC8", Offset = "0x1ADCBC8", Length = "0xF8")]
179 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
180 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
182 {
183 typeof(string),
184 typeof(string)
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
187 {
188 typeof(string),
189 typeof(string)
190 }, ReturnType = typeof(void))]
191 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
192 public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount)
193 {
194 throw null;
195 }
196
197 [global::Cpp2ILInjected.Token(Token = "0x60015DF")]
198 [global::Cpp2ILInjected.Address(RVA = "0x1ADCCC0", Offset = "0x1ADCCC0", Length = "0x178")]
199 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
200 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
201 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
202 {
203 typeof(string),
204 typeof(string)
205 }, ReturnType = typeof(void))]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
207 {
208 typeof(string),
209 typeof(string)
210 }, ReturnType = typeof(void))]
211 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
212 public override int GetCharCount(byte[] bytes, int index, int count)
213 {
214 throw null;
215 }
216
217 [global::System.CLSCompliant(false)]
218 [global::Cpp2ILInjected.Token(Token = "0x60015E0")]
219 [global::Cpp2ILInjected.Address(RVA = "0x1ADCE38", Offset = "0x1ADCE38", Length = "0xD0")]
220 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
221 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
222 {
223 typeof(string),
224 typeof(string)
225 }, ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
227 {
228 typeof(string),
229 typeof(string)
230 }, ReturnType = typeof(void))]
231 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
232 public unsafe override int GetCharCount(byte* bytes, int count)
233 {
234 throw null;
235 }
236
237 [global::Cpp2ILInjected.Token(Token = "0x60015E1")]
238 [global::Cpp2ILInjected.Address(RVA = "0x1ADCF08", Offset = "0x1ADCF08", Length = "0x264")]
239 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
240 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(char[]) }, ReturnType = "System.Span`1<T>")]
242 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal[]), Member = "GetReference", MemberTypeParameters = new object[] { typeof(char) }, MemberParameters = new object[] { typeof(global::System.Span<char>) }, ReturnType = "T&")]
243 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), 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.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
249 {
250 typeof(string),
251 typeof(string)
252 }, ReturnType = typeof(void))]
253 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
254 public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
255 {
256 throw null;
257 }
258
259 [global::System.CLSCompliant(false)]
260 [global::Cpp2ILInjected.Token(Token = "0x60015E2")]
261 [global::Cpp2ILInjected.Address(RVA = "0x1ADD16C", Offset = "0x1ADD16C", Length = "0xF8")]
262 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
263 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
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 = 11)]
275 public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount)
276 {
277 throw null;
278 }
279
280 [global::Cpp2ILInjected.Token(Token = "0x60015E3")]
281 [global::Cpp2ILInjected.Address(RVA = "0x1ADD264", Offset = "0x1ADD264", Length = "0x1BC")]
282 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
283 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
284 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateStringFromEncoding", MemberParameters = new object[]
285 {
286 typeof(byte*),
287 typeof(int),
289 }, ReturnType = typeof(string))]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
291 {
292 typeof(string),
293 typeof(string)
294 }, ReturnType = typeof(void))]
295 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
296 {
297 typeof(string),
298 typeof(string)
299 }, ReturnType = typeof(void))]
300 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
301 public unsafe override string GetString(byte[] bytes, int index, int count)
302 {
303 throw null;
304 }
305
306 [global::Cpp2ILInjected.Token(Token = "0x60015E4")]
307 [global::Cpp2ILInjected.Address(RVA = "0x1ADD420", Offset = "0x1ADD420", Length = "0x5DC")]
308 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
309 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
310 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_InternalHasFallbackBuffer", ReturnType = typeof(bool))]
311 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_FallbackBuffer", ReturnType = typeof(EncoderFallbackBuffer))]
312 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
313 {
314 typeof(char*),
315 typeof(char*),
317 typeof(bool)
318 }, ReturnType = typeof(void))]
319 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalGetNextChar", ReturnType = typeof(char))]
320 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
321 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
322 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
323 {
324 typeof(string),
325 typeof(object),
326 typeof(object)
327 }, ReturnType = typeof(string))]
328 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
329 internal unsafe override int GetByteCount(char* chars, int count, EncoderNLS baseEncoder)
330 {
331 throw null;
332 }
333
334 [global::Cpp2ILInjected.Token(Token = "0x60015E5")]
335 [global::Cpp2ILInjected.Address(RVA = "0x1ADDA10", Offset = "0x1ADDA10", Length = "0xC")]
336 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
337 private unsafe static int PtrDiff(char* a, char* b)
338 {
339 throw null;
340 }
341
342 [global::Cpp2ILInjected.Token(Token = "0x60015E6")]
343 [global::Cpp2ILInjected.Address(RVA = "0x1ADDA1C", Offset = "0x1ADDA1C", Length = "0x8")]
344 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
345 private unsafe static int PtrDiff(byte* a, byte* b)
346 {
347 throw null;
348 }
349
350 [global::Cpp2ILInjected.Token(Token = "0x60015E7")]
351 [global::Cpp2ILInjected.Address(RVA = "0x1ADD9FC", Offset = "0x1ADD9FC", Length = "0x14")]
352 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
353 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
354 private static bool InRange(int ch, int start, int end)
355 {
356 throw null;
357 }
358
359 [global::Cpp2ILInjected.Token(Token = "0x60015E8")]
360 [global::Cpp2ILInjected.Address(RVA = "0x1ADDA24", Offset = "0x1ADDA24", Length = "0x720")]
361 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
362 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
363 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_InternalHasFallbackBuffer", ReturnType = typeof(bool))]
364 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = "get_FallbackBuffer", ReturnType = typeof(EncoderFallbackBuffer))]
365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
366 {
367 typeof(char*),
368 typeof(char*),
370 typeof(bool)
371 }, ReturnType = typeof(void))]
372 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EncoderFallbackBuffer), Member = "InternalGetNextChar", ReturnType = typeof(char))]
373 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "ThrowBytesOverflow", MemberParameters = new object[]
374 {
375 typeof(EncoderNLS),
376 typeof(bool)
377 }, ReturnType = typeof(void))]
378 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
379 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
380 {
381 typeof(string),
382 typeof(object),
383 typeof(object)
384 }, ReturnType = typeof(string))]
385 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
386 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
387 internal unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, EncoderNLS baseEncoder)
388 {
389 throw null;
390 }
391
392 [global::Cpp2ILInjected.Token(Token = "0x60015E9")]
393 [global::Cpp2ILInjected.Address(RVA = "0x1ADE144", Offset = "0x1ADE144", Length = "0x540")]
394 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
395 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
396 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Decoder), Member = "get_FallbackBuffer", ReturnType = typeof(DecoderFallbackBuffer))]
397 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
398 {
399 typeof(byte*),
400 typeof(char*)
401 }, ReturnType = typeof(void))]
402 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UTF8Encoding), Member = "GetBytesUnknown", MemberParameters = new object[]
403 {
404 typeof(ref byte*),
405 typeof(int)
406 }, ReturnType = typeof(byte[]))]
407 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
408 internal unsafe override int GetCharCount(byte* bytes, int count, DecoderNLS baseDecoder)
409 {
410 throw null;
411 }
412
413 [global::Cpp2ILInjected.Token(Token = "0x60015EA")]
414 [global::Cpp2ILInjected.Address(RVA = "0x1ADE6BC", Offset = "0x1ADE6BC", Length = "0x768")]
415 [global::Cpp2ILInjected.CallAnalysis.ContainsInvalidInstructions]
416 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
417 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
418 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Decoder), Member = "get_FallbackBuffer", ReturnType = typeof(DecoderFallbackBuffer))]
419 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallbackBuffer), Member = "InternalInitialize", MemberParameters = new object[]
420 {
421 typeof(byte*),
422 typeof(char*)
423 }, ReturnType = typeof(void))]
424 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UTF8Encoding), Member = "FallbackInvalidByteSequence", MemberParameters = new object[]
425 {
426 typeof(ref byte*),
427 typeof(int),
428 typeof(DecoderFallbackBuffer),
429 typeof(ref char*)
430 }, ReturnType = typeof(bool))]
431 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderFallbackBuffer), Member = "InternalReset", ReturnType = typeof(void))]
432 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "ThrowCharsOverflow", MemberParameters = new object[]
433 {
434 typeof(DecoderNLS),
435 typeof(bool)
436 }, ReturnType = typeof(void))]
437 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
438 internal unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, DecoderNLS baseDecoder)
439 {
440 throw null;
441 }
442
443 [global::Cpp2ILInjected.Token(Token = "0x60015EB")]
444 [global::Cpp2ILInjected.Address(RVA = "0x1ADEE24", Offset = "0x1ADEE24", Length = "0x6C")]
445 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
446 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetChars", MemberParameters = new object[]
447 {
448 typeof(byte*),
449 typeof(int),
450 typeof(char*),
451 typeof(int),
453 }, ReturnType = typeof(int))]
454 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
455 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UTF8Encoding), Member = "GetBytesUnknown", MemberParameters = new object[]
456 {
457 typeof(ref byte*),
458 typeof(int)
459 }, ReturnType = typeof(byte[]))]
461 {
462 throw null;
463 }
464
465 [global::Cpp2ILInjected.Token(Token = "0x60015EC")]
466 [global::Cpp2ILInjected.Address(RVA = "0x1ADE684", Offset = "0x1ADE684", Length = "0x38")]
467 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
468 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UTF8Encoding), Member = "GetBytesUnknown", MemberParameters = new object[]
469 {
470 typeof(ref byte*),
471 typeof(int)
472 }, ReturnType = typeof(byte[]))]
473 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
475 {
476 throw null;
477 }
478
479 [global::Cpp2ILInjected.Token(Token = "0x60015ED")]
480 [global::Cpp2ILInjected.Address(RVA = "0x1ADEE90", Offset = "0x1ADEE90", Length = "0x184")]
481 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
482 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetCharCount", MemberParameters = new object[]
483 {
484 typeof(byte*),
485 typeof(int),
487 }, ReturnType = typeof(int))]
488 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "FallbackInvalidByteSequence", MemberParameters = new object[]
489 {
490 typeof(ref byte*),
491 typeof(int),
492 typeof(DecoderFallbackBuffer),
493 typeof(ref char*)
494 }, ReturnType = typeof(bool))]
495 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "FallbackInvalidByteSequence", MemberParameters = new object[]
496 {
497 typeof(byte*),
498 typeof(int),
499 typeof(DecoderFallbackBuffer)
500 }, ReturnType = typeof(int))]
501 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
502 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
503 private unsafe byte[] GetBytesUnknown(ref byte* pSrc, int ch)
504 {
505 throw null;
506 }
507
508 [global::Cpp2ILInjected.Token(Token = "0x60015EE")]
509 [global::Cpp2ILInjected.Address(RVA = "0x1ADF014", Offset = "0x1ADF014", Length = "0x5C")]
510 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
511 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderNLS), Member = ".ctor", MemberParameters = new object[] { typeof(Encoding) }, ReturnType = typeof(void))]
512 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
513 public override Decoder GetDecoder()
514 {
515 throw null;
516 }
517
518 [global::Cpp2ILInjected.Token(Token = "0x60015EF")]
519 [global::Cpp2ILInjected.Address(RVA = "0x1ADF078", Offset = "0x1ADF078", Length = "0x74")]
520 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
521 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
522 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = ".ctor", ReturnType = typeof(void))]
523 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
524 public override Encoder GetEncoder()
525 {
526 throw null;
527 }
528
529 [global::Cpp2ILInjected.Token(Token = "0x60015F0")]
530 [global::Cpp2ILInjected.Address(RVA = "0x1ADF128", Offset = "0x1ADF128", Length = "0xF4")]
531 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
532 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
533 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
534 {
535 typeof(string),
536 typeof(string)
537 }, ReturnType = typeof(void))]
538 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
539 public override int GetMaxByteCount(int charCount)
540 {
541 throw null;
542 }
543
544 [global::Cpp2ILInjected.Token(Token = "0x60015F1")]
545 [global::Cpp2ILInjected.Address(RVA = "0x1ADF21C", Offset = "0x1ADF21C", Length = "0xF4")]
546 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
547 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
548 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
549 {
550 typeof(string),
551 typeof(string)
552 }, ReturnType = typeof(void))]
553 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
554 public override int GetMaxCharCount(int byteCount)
555 {
556 throw null;
557 }
558
559 [global::Cpp2ILInjected.Token(Token = "0x60015F2")]
560 [global::Cpp2ILInjected.Address(RVA = "0x1ADF310", Offset = "0x1ADF310", Length = "0xD4")]
561 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
562 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
563 {
564 typeof(global::System.Array),
565 typeof(global::System.RuntimeFieldHandle)
566 }, ReturnType = typeof(void))]
567 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
568 public override byte[] GetPreamble()
569 {
570 throw null;
571 }
572
573 [global::Cpp2ILInjected.Token(Token = "0x1700022D")]
574 public override global::System.ReadOnlySpan<byte> Preamble
575 {
576 [global::Cpp2ILInjected.Token(Token = "0x60015F3")]
577 [global::Cpp2ILInjected.Address(RVA = "0x1ADF3E4", Offset = "0x1ADF3E4", Length = "0x160")]
578 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
579 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
580 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "GetType", ReturnType = typeof(global::System.Type))]
581 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "GetTypeFromHandle", MemberParameters = new object[] { typeof(global::System.RuntimeTypeHandle) }, ReturnType = typeof(global::System.Type))]
582 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Type), Member = "op_Inequality", MemberParameters = new object[]
583 {
584 typeof(global::System.Type),
585 typeof(global::System.Type)
586 }, ReturnType = typeof(bool))]
587 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.ReadOnlySpan`1<T>")]
588 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
589 get
590 {
591 throw null;
592 }
593 }
594
595 [global::Cpp2ILInjected.Token(Token = "0x60015F4")]
596 [global::Cpp2ILInjected.Address(RVA = "0x1ADF544", Offset = "0x1ADF544", Length = "0xC0")]
597 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
598 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
599 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
600 public override bool Equals(object value)
601 {
602 throw null;
603 }
604
605 [global::Cpp2ILInjected.Token(Token = "0x60015F5")]
606 [global::Cpp2ILInjected.Address(RVA = "0x1ADF604", Offset = "0x1ADF604", Length = "0x54")]
607 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
608 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
609 public override int GetHashCode()
610 {
611 throw null;
612 }
613
614 // Note: this type is marked as 'beforefieldinit'.
615 [global::Cpp2ILInjected.Token(Token = "0x60015F6")]
616 [global::Cpp2ILInjected.Address(RVA = "0x1ADF658", Offset = "0x1ADF658", Length = "0xC8")]
617 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
618 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(UTF8Encoding.UTF8EncodingSealed), Member = ".ctor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
619 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
620 {
621 typeof(global::System.Array),
622 typeof(global::System.RuntimeFieldHandle)
623 }, ReturnType = typeof(void))]
624 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
626 {
627 throw null;
628 }
629
630 [global::Cpp2ILInjected.Token(Token = "0x4000B48")]
632
633 [global::Cpp2ILInjected.Token(Token = "0x4000B49")]
634 internal static readonly byte[] s_preamble;
635
636 [global::Cpp2ILInjected.Token(Token = "0x4000B4A")]
637 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
639
640 [global::Cpp2ILInjected.Token(Token = "0x4000B4B")]
641 [global::Cpp2ILInjected.FieldOffset(Offset = "0x39")]
642 private bool _isThrowException;
643
644 [global::Cpp2ILInjected.Token(Token = "0x2000282")]
645 internal sealed class UTF8EncodingSealed : UTF8Encoding
646 {
647 [global::Cpp2ILInjected.Token(Token = "0x60015F7")]
648 [global::Cpp2ILInjected.Address(RVA = "0x1ADF720", Offset = "0x1ADF720", Length = "0x78")]
649 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = ".cctor", ReturnType = typeof(void))]
650 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
651 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
652 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
654 {
655 throw null;
656 }
657
658 [global::Cpp2ILInjected.Token(Token = "0x1700022E")]
659 public override global::System.ReadOnlySpan<byte> Preamble
660 {
661 [global::Cpp2ILInjected.Token(Token = "0x60015F8")]
662 [global::Cpp2ILInjected.Address(RVA = "0x1ADF798", Offset = "0x1ADF798", Length = "0xD4")]
663 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
664 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.ReadOnlySpan`1<T>")]
665 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
666 get
667 {
668 throw null;
669 }
670 }
671 }
672
673 [global::Cpp2ILInjected.Token(Token = "0x2000283")]
674 [global::System.Serializable]
675 private sealed class UTF8Encoder : EncoderNLS
676 {
677 [global::Cpp2ILInjected.Token(Token = "0x60015F9")]
678 [global::Cpp2ILInjected.Address(RVA = "0x1ADF0EC", Offset = "0x1ADF0EC", Length = "0x3C")]
679 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
680 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = ".ctor", ReturnType = typeof(void))]
681 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
682 public UTF8Encoder(UTF8Encoding encoding)
683 {
684 throw null;
685 }
686
687 [global::Cpp2ILInjected.Token(Token = "0x60015FA")]
688 [global::Cpp2ILInjected.Address(RVA = "0x1ADF86C", Offset = "0x1ADF86C", Length = "0x20")]
689 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
690 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
691 public override void Reset()
692 {
693 throw null;
694 }
695
696 [global::Cpp2ILInjected.Token(Token = "0x1700022F")]
697 internal override bool HasState
698 {
699 [global::Cpp2ILInjected.Token(Token = "0x60015FB")]
700 [global::Cpp2ILInjected.Address(RVA = "0x1ADF88C", Offset = "0x1ADF88C", Length = "0x10")]
701 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
702 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
703 get
704 {
705 throw null;
706 }
707 }
708
709 [global::Cpp2ILInjected.Token(Token = "0x4000B4C")]
710 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
711 internal int surrogateChar;
712 }
713
714 [global::Cpp2ILInjected.Token(Token = "0x2000284")]
715 [global::System.Serializable]
716 private sealed class UTF8Decoder : DecoderNLS
717 {
718 [global::Cpp2ILInjected.Token(Token = "0x60015FC")]
719 [global::Cpp2ILInjected.Address(RVA = "0x1ADF070", Offset = "0x1ADF070", Length = "0x8")]
720 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
721 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DecoderNLS), Member = ".ctor", MemberParameters = new object[] { typeof(Encoding) }, ReturnType = typeof(void))]
722 public UTF8Decoder(UTF8Encoding encoding)
723 {
724 throw null;
725 }
726
727 [global::Cpp2ILInjected.Token(Token = "0x60015FD")]
728 [global::Cpp2ILInjected.Address(RVA = "0x1ADF89C", Offset = "0x1ADF89C", Length = "0x20")]
729 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
730 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
731 public override void Reset()
732 {
733 throw null;
734 }
735
736 [global::Cpp2ILInjected.Token(Token = "0x17000230")]
737 internal override bool HasState
738 {
739 [global::Cpp2ILInjected.Token(Token = "0x60015FE")]
740 [global::Cpp2ILInjected.Address(RVA = "0x1ADF8BC", Offset = "0x1ADF8BC", Length = "0x10")]
741 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
742 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
743 get
744 {
745 throw null;
746 }
747 }
748
749 [global::Cpp2ILInjected.Token(Token = "0x4000B4D")]
750 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
751 internal int bits;
752 }
753 }
754}
class f__AnonymousType0<< Count > j__TPar
UTF8Decoder(UTF8Encoding encoding)
UTF8Encoder(UTF8Encoding encoding)
UTF8EncodingSealed(bool encoderShouldEmitUTF8Identifier)
unsafe byte[] GetBytesUnknown(ref byte *pSrc, int ch)
static unsafe int PtrDiff(byte *a, byte *b)
unsafe override int GetCharCount(byte *bytes, int count, DecoderNLS baseDecoder)
override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex)
override int GetByteCount(string chars)
override int GetCharCount(byte[] bytes, int index, int count)
UTF8Encoding(bool encoderShouldEmitUTF8Identifier, bool throwOnInvalidBytes)
unsafe override string GetString(byte[] bytes, int index, int count)
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount)
static bool InRange(int ch, int start, int end)
override byte[] GetPreamble()
override int GetMaxByteCount(int charCount)
unsafe override int GetByteCount(char *chars, int count)
readonly bool _emitUTF8Identifier
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount)
unsafe override int GetByteCount(char *chars, int count, EncoderNLS baseEncoder)
override int GetMaxCharCount(int byteCount)
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount, DecoderNLS baseDecoder)
override Decoder GetDecoder()
override int GetByteCount(char[] chars, int index, int count)
override int GetHashCode()
override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
UTF8Encoding(bool encoderShouldEmitUTF8Identifier)
static readonly byte[] s_preamble
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount, EncoderNLS baseEncoder)
override void SetDefaultFallbacks()
override Encoder GetEncoder()
unsafe bool FallbackInvalidByteSequence(ref byte *pSrc, int ch, DecoderFallbackBuffer fallback, ref char *pTarget)
static unsafe int PtrDiff(char *a, char *b)
unsafe int FallbackInvalidByteSequence(byte *pSrc, int ch, DecoderFallbackBuffer fallback)
static readonly UTF8Encoding.UTF8EncodingSealed s_default
override bool Equals(object value)
unsafe override int GetCharCount(byte *bytes, int count)
override int GetBytes(string s, int charIndex, int charCount, byte[] bytes, int byteIndex)