Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
WriteDigits()
[1/2]
static void System.Buffers.Text.FormattingHelpers.WriteDigits
(
uint
value
,
Span
< byte >
buffer
)
inline
static
Definition at line
135
of file
FormattingHelpers.cs
.
136
{
137
for
(
int
num =
buffer
.Length - 1; num >= 1; num--)
138
{
139
uint num2 = 48 +
value
;
140
value
/= 10;
141
buffer
[num] = (byte)(num2 -
value
* 10);
142
}
143
buffer
[0] = (byte)(48 +
value
);
144
}
System.ExceptionArgument.value
@ value
System.ExceptionArgument.buffer
@ buffer
References
System.buffer
, and
System.value
.
System
Buffers
Text
FormattingHelpers
Generated by
1.10.0