Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
ToCharsBuffer()
[8/8]
static void System.HexConverter.ToCharsBuffer
(
byte
value
,
Span
< char >
buffer
,
int
startingIndex
=
0
,
Casing
casing
=
Casing::Upper
)
inline
static
Definition at line
23
of file
HexConverter.cs
.
24
{
25
uint num = (uint)(((
value
& 0xF0) << 4) + (
value
& 0xF) - 35209);
26
uint num2 = ((((0 - num) & 0x7070) >> 4) + num + 47545) | (uint)casing;
27
buffer
[startingIndex + 1] = (char)(num2 & 0xFFu);
28
buffer
[startingIndex] = (char)(num2 >> 8);
29
}
System.ExceptionArgument.value
@ value
System.ExceptionArgument.buffer
@ buffer
References
System.buffer
, and
System.value
.
System
HexConverter
Generated by
1.10.0