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
DecoderNLS.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Text
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000266")]
9 internal class DecoderNLS : Decoder
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x60014B1")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1CB1190", Offset = "0x1CB1190", Length = "0x3C")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(EncodingNLS), Member = "GetDecoder", ReturnType = typeof(Decoder))]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.UTF32Encoding.UTF32Decoder", Member = ".ctor", MemberParameters = new object[] { typeof(UTF32Encoding) }, ReturnType = typeof(void))]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF32Encoding), Member = "GetDecoder", ReturnType = typeof(Decoder))]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.UTF7Encoding.Decoder", Member = ".ctor", MemberParameters = new object[] { typeof(UTF7Encoding) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF7Encoding), Member = "GetDecoder", ReturnType = typeof(Decoder))]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.UTF8Encoding.UTF8Decoder", Member = ".ctor", MemberParameters = new object[] { typeof(UTF8Encoding) }, ReturnType = typeof(void))]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UTF8Encoding), Member = "GetDecoder", ReturnType = typeof(Decoder))]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Text.UnicodeEncoding.Decoder", Member = ".ctor", MemberParameters = new object[] { typeof(UnicodeEncoding) }, ReturnType = typeof(void))]
21 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
24 internal DecoderNLS(Encoding encoding)
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x60014B2")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1CB2A60", Offset = "0x1CB2A60", Length = "0x18")]
31 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
33 public override void Reset()
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x60014B3")]
39 [global::Cpp2ILInjected.Address(RVA = "0x1CB2A78", Offset = "0x1CB2A78", Length = "0x10")]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
41 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
42 public override int GetCharCount(byte[] bytes, int index, int count)
43 {
44 throw null;
45 }
46
47 [global::Cpp2ILInjected.Token(Token = "0x60014B4")]
48 [global::Cpp2ILInjected.Address(RVA = "0x1CB2A88", Offset = "0x1CB2A88", Length = "0x1CC")]
49 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
50 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
51 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
52 [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&")]
53 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
54 {
55 typeof(string),
56 typeof(string)
57 }, ReturnType = typeof(void))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
59 {
60 typeof(string),
61 typeof(string)
62 }, ReturnType = typeof(void))]
63 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
64 public override int GetCharCount(byte[] bytes, int index, int count, bool flush)
65 {
66 throw null;
67 }
68
69 [global::Cpp2ILInjected.Token(Token = "0x60014B5")]
70 [global::Cpp2ILInjected.Address(RVA = "0x1CB2C54", Offset = "0x1CB2C54", Length = "0xE8")]
71 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
72 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
73 {
74 typeof(string),
75 typeof(string)
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
78 {
79 typeof(string),
80 typeof(string)
81 }, ReturnType = typeof(void))]
82 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
83 public unsafe override int GetCharCount(byte* bytes, int count, bool flush)
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x60014B6")]
89 [global::Cpp2ILInjected.Address(RVA = "0x1CB2D3C", Offset = "0x1CB2D3C", Length = "0x10")]
90 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
91 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
92 public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x60014B7")]
98 [global::Cpp2ILInjected.Address(RVA = "0x1CB2D4C", Offset = "0x1CB2D4C", Length = "0x280")]
99 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
102 [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&")]
103 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(char[]) }, ReturnType = "System.Span`1<T>")]
104 [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&")]
105 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
106 {
107 typeof(string),
108 typeof(string)
109 }, ReturnType = typeof(void))]
110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
111 {
112 typeof(string),
113 typeof(string)
114 }, ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
116 public override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, bool flush)
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x60014B8")]
122 [global::Cpp2ILInjected.Address(RVA = "0x1CB2FCC", Offset = "0x1CB2FCC", Length = "0x110")]
123 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
126 {
127 typeof(string),
128 typeof(string)
129 }, ReturnType = typeof(void))]
130 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
131 {
132 typeof(string),
133 typeof(string)
134 }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
136 public unsafe override int GetChars(byte* bytes, int byteCount, char* chars, int charCount, bool flush)
137 {
138 throw null;
139 }
140
141 [global::Cpp2ILInjected.Token(Token = "0x60014B9")]
142 [global::Cpp2ILInjected.Address(RVA = "0x1CB30DC", Offset = "0x1CB30DC", Length = "0x2B8")]
143 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
144 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
146 [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&")]
147 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(char[]) }, ReturnType = "System.Span`1<T>")]
148 [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&")]
149 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
150 {
151 typeof(string),
152 typeof(string)
153 }, ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
155 {
156 typeof(string),
157 typeof(string)
158 }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
160 public override 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)
161 {
162 throw null;
163 }
164
165 [global::Cpp2ILInjected.Token(Token = "0x60014BA")]
166 [global::Cpp2ILInjected.Address(RVA = "0x1CB3394", Offset = "0x1CB3394", Length = "0x1A0")]
167 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
168 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
170 {
171 typeof(string),
172 typeof(string)
173 }, ReturnType = typeof(void))]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
175 {
176 typeof(string),
177 typeof(string)
178 }, ReturnType = typeof(void))]
179 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
180 public unsafe override void Convert(byte* bytes, int byteCount, char* chars, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
181 {
182 throw null;
183 }
184
185 [global::Cpp2ILInjected.Token(Token = "0x1700020B")]
186 public bool MustFlush
187 {
188 [global::Cpp2ILInjected.Token(Token = "0x60014BB")]
189 [global::Cpp2ILInjected.Address(RVA = "0x1CB3534", Offset = "0x1CB3534", Length = "0x8")]
190 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
191 get
192 {
193 throw null;
194 }
195 }
196
197 [global::Cpp2ILInjected.Token(Token = "0x1700020C")]
198 internal virtual bool HasState
199 {
200 [global::Cpp2ILInjected.Token(Token = "0x60014BC")]
201 [global::Cpp2ILInjected.Address(RVA = "0x1CB353C", Offset = "0x1CB353C", Length = "0x8")]
202 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
203 get
204 {
205 throw null;
206 }
207 }
208
209 [global::Cpp2ILInjected.Token(Token = "0x60014BD")]
210 [global::Cpp2ILInjected.Address(RVA = "0x1CB3544", Offset = "0x1CB3544", Length = "0x8")]
211 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "ThrowCharsOverflow", MemberParameters = new object[]
212 {
214 typeof(bool)
215 }, ReturnType = typeof(void))]
216 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
217 internal void ClearMustFlush()
218 {
219 throw null;
220 }
221
222 [global::Cpp2ILInjected.Token(Token = "0x4000AF4")]
223 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
225
226 [global::Cpp2ILInjected.Token(Token = "0x4000AF5")]
227 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
228 private bool _mustFlush;
229
230 [global::Cpp2ILInjected.Token(Token = "0x4000AF6")]
231 [global::Cpp2ILInjected.FieldOffset(Offset = "0x29")]
232 internal bool _throwOnOverflow;
233
234 [global::Cpp2ILInjected.Token(Token = "0x4000AF7")]
235 [global::Cpp2ILInjected.FieldOffset(Offset = "0x2C")]
236 internal int _bytesUsed;
237 }
238}
class f__AnonymousType0<< Count > j__TPar
override void Reset()
Definition DecoderNLS.cs:33
override int GetCharCount(byte[] bytes, int index, int count, bool flush)
Definition DecoderNLS.cs:64
unsafe override void Convert(byte *bytes, int byteCount, char *chars, int charCount, bool flush, out int bytesUsed, out int charsUsed, out bool completed)
unsafe override int GetCharCount(byte *bytes, int count, bool flush)
Definition DecoderNLS.cs:83
override 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)
override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex)
Definition DecoderNLS.cs:92
override int GetChars(byte[] bytes, int byteIndex, int byteCount, char[] chars, int charIndex, bool flush)
DecoderNLS(Encoding encoding)
Definition DecoderNLS.cs:24
override int GetCharCount(byte[] bytes, int index, int count)
Definition DecoderNLS.cs:42
unsafe override int GetChars(byte *bytes, int byteCount, char *chars, int charCount, bool flush)