terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ TryGetBytes()

byte[] System.Numerics.BigInteger.TryGetBytes ( BigInteger::GetBytesMode mode,
Span< byte > destination,
bool isUnsigned,
bool isBigEndian,
int bytesWritten )
inlineprivate

Definition at line 165 of file BigInteger.cs.

166 {
167 uint[] bits = this._bits;
168 long num;
169 if (bits != null)
170 {
171 num = 0L;
172 if (mode != BigInteger.GetBytesMode.AllocateArray)
173 {
174 goto IL_0068;
175 }
176 }
177 while (num == 0L)
178 {
179 }
180 int num2 = 255;
181 int num3 = 2;
182 if (bits != null)
183 {
184 }
185 if (mode == BigInteger.GetBytesMode.AllocateArray)
186 {
187 }
188 long num4;
189 if (bits != null)
190 {
191 num4 = 0L;
192 }
193 Span span;
194 if (num3 != 0)
195 {
198 }
199 if (!isUnsigned)
200 {
201 goto IL_0076;
202 }
204 long num5 = 0L;
205 IL_0068:
206 int num6 = 1;
207 if (num5 == 0L || num6 == 0)
208 {
209 }
210 IL_0076:
211 throw new OverflowException();
212 }
class f__AnonymousType0<< Count > j__TPar

References System.Numerics.BigInteger._bits, System.destination, j__TPar, System.L, and System.mode.