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
EncoderNLS.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Text
7{
8 [global::Cpp2ILInjected.Token(Token = "0x2000271")]
9 internal class EncoderNLS : Encoder
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6001506")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1AD0B34", Offset = "0x1AD0B34", Length = "0x3C")]
13 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(ASCIIEncoding), Member = "GetEncoder", ReturnType = typeof(Encoder))]
14 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
15 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoder), Member = ".ctor", ReturnType = typeof(void))]
16 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
17 internal EncoderNLS(Encoding encoding)
18 {
19 throw null;
20 }
21
22 [global::Cpp2ILInjected.Token(Token = "0x6001507")]
23 [global::Cpp2ILInjected.Address(RVA = "0x1AD0B70", Offset = "0x1AD0B70", Length = "0x20")]
24 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
26 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
27 public override void Reset()
28 {
29 throw null;
30 }
31
32 [global::Cpp2ILInjected.Token(Token = "0x6001508")]
33 [global::Cpp2ILInjected.Address(RVA = "0x1AD0B90", Offset = "0x1AD0B90", Length = "0x1CC")]
34 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
35 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
36 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(char[]) }, ReturnType = "System.Span`1<T>")]
37 [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&")]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
39 {
40 typeof(string),
41 typeof(string)
42 }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
44 {
45 typeof(string),
46 typeof(string)
47 }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
49 public override int GetByteCount(char[] chars, int index, int count, bool flush)
50 {
51 throw null;
52 }
53
54 [global::Cpp2ILInjected.Token(Token = "0x6001509")]
55 [global::Cpp2ILInjected.Address(RVA = "0x1AD0D5C", Offset = "0x1AD0D5C", Length = "0xE8")]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
58 {
59 typeof(string),
60 typeof(string)
61 }, ReturnType = typeof(void))]
62 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
63 {
64 typeof(string),
65 typeof(string)
66 }, ReturnType = typeof(void))]
67 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
68 public unsafe override int GetByteCount(char* chars, int count, bool flush)
69 {
70 throw null;
71 }
72
73 [global::Cpp2ILInjected.Token(Token = "0x600150A")]
74 [global::Cpp2ILInjected.Address(RVA = "0x1AD0E44", Offset = "0x1AD0E44", Length = "0x280")]
75 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
76 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
77 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(char[]) }, ReturnType = "System.Span`1<T>")]
78 [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&")]
79 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
80 [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&")]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
82 {
83 typeof(string),
84 typeof(string)
85 }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
87 {
88 typeof(string),
89 typeof(string)
90 }, ReturnType = typeof(void))]
91 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
92 public override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, bool flush)
93 {
94 throw null;
95 }
96
97 [global::Cpp2ILInjected.Token(Token = "0x600150B")]
98 [global::Cpp2ILInjected.Address(RVA = "0x1AD10C4", Offset = "0x1AD10C4", Length = "0x110")]
99 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
100 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
101 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
102 {
103 typeof(string),
104 typeof(string)
105 }, ReturnType = typeof(void))]
106 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
107 {
108 typeof(string),
109 typeof(string)
110 }, ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
112 public unsafe override int GetBytes(char* chars, int charCount, byte* bytes, int byteCount, bool flush)
113 {
114 throw null;
115 }
116
117 [global::Cpp2ILInjected.Token(Token = "0x600150C")]
118 [global::Cpp2ILInjected.Address(RVA = "0x1AD11D4", Offset = "0x1AD11D4", Length = "0x2B4")]
119 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(char[]) }, ReturnType = "System.Span`1<T>")]
122 [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&")]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
124 [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&")]
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 = 23)]
136 public override 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)
137 {
138 throw null;
139 }
140
141 [global::Cpp2ILInjected.Token(Token = "0x600150D")]
142 [global::Cpp2ILInjected.Address(RVA = "0x1AD1488", Offset = "0x1AD1488", Length = "0x19C")]
143 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
144 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
145 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
146 {
147 typeof(string),
148 typeof(string)
149 }, ReturnType = typeof(void))]
150 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
151 {
152 typeof(string),
153 typeof(string)
154 }, ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
156 public unsafe override void Convert(char* chars, int charCount, byte* bytes, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed)
157 {
158 throw null;
159 }
160
161 [global::Cpp2ILInjected.Token(Token = "0x1700021C")]
163 {
164 [global::Cpp2ILInjected.Token(Token = "0x600150E")]
165 [global::Cpp2ILInjected.Address(RVA = "0x1AD1624", Offset = "0x1AD1624", Length = "0x8")]
166 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
167 get
168 {
169 throw null;
170 }
171 }
172
173 [global::Cpp2ILInjected.Token(Token = "0x1700021D")]
174 public bool MustFlush
175 {
176 [global::Cpp2ILInjected.Token(Token = "0x600150F")]
177 [global::Cpp2ILInjected.Address(RVA = "0x1AD162C", Offset = "0x1AD162C", Length = "0x8")]
178 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
179 get
180 {
181 throw null;
182 }
183 }
184
185 [global::Cpp2ILInjected.Token(Token = "0x1700021E")]
186 internal virtual bool HasState
187 {
188 [global::Cpp2ILInjected.Token(Token = "0x6001510")]
189 [global::Cpp2ILInjected.Address(RVA = "0x1AD1634", Offset = "0x1AD1634", Length = "0x10")]
190 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
192 get
193 {
194 throw null;
195 }
196 }
197
198 [global::Cpp2ILInjected.Token(Token = "0x6001511")]
199 [global::Cpp2ILInjected.Address(RVA = "0x1AD1644", Offset = "0x1AD1644", Length = "0x8")]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Encoding), Member = "ThrowBytesOverflow", MemberParameters = new object[]
201 {
203 typeof(bool)
204 }, ReturnType = typeof(void))]
205 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
206 internal void ClearMustFlush()
207 {
208 throw null;
209 }
210
211 [global::Cpp2ILInjected.Token(Token = "0x4000B12")]
212 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
213 internal char _charLeftOver;
214
215 [global::Cpp2ILInjected.Token(Token = "0x4000B13")]
216 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
218
219 [global::Cpp2ILInjected.Token(Token = "0x4000B14")]
220 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
221 private bool _mustFlush;
222
223 [global::Cpp2ILInjected.Token(Token = "0x4000B15")]
224 [global::Cpp2ILInjected.FieldOffset(Offset = "0x31")]
225 internal bool _throwOnOverflow;
226
227 [global::Cpp2ILInjected.Token(Token = "0x4000B16")]
228 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
229 internal int _charsUsed;
230 }
231}
class f__AnonymousType0<< Count > j__TPar
override void Reset()
Definition EncoderNLS.cs:27
unsafe override int GetByteCount(char *chars, int count, bool flush)
Definition EncoderNLS.cs:68
override int GetByteCount(char[] chars, int index, int count, bool flush)
Definition EncoderNLS.cs:49
unsafe override int GetBytes(char *chars, int charCount, byte *bytes, int byteCount, bool flush)
unsafe override void Convert(char *chars, int charCount, byte *bytes, int byteCount, bool flush, out int charsUsed, out int bytesUsed, out bool completed)
virtual bool HasState
override int GetBytes(char[] chars, int charIndex, int charCount, byte[] bytes, int byteIndex, bool flush)
Definition EncoderNLS.cs:92
override 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)
EncoderNLS(Encoding encoding)
Definition EncoderNLS.cs:17