Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetBits() [2/2]

static int System.Decimal.GetBits ( decimal d,
Span< int > destination )
inlinestatic

Definition at line 2491 of file Decimal.cs.

2492 {
2493 if ((uint)destination.Length <= 3u)
2494 {
2495 ThrowHelper.ThrowArgumentException_DestinationTooShort();
2496 }
2497 destination[0] = (int)d.Low;
2498 destination[1] = (int)d.Mid;
2499 destination[2] = (int)d.High;
2500 destination[3] = d._flags;
2501 return 4;
2502 }

References System.destination, System.Runtime.Serialization.Dictionary, and System.ThrowHelper.ThrowArgumentException_DestinationTooShort().