Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
HexConverter.cs
Go to the documentation of this file.
2
3namespace System;
4
5internal static class HexConverter
6{
7 [MethodImpl(MethodImplOptions.AggressiveInlining)]
8 public static char ToCharUpper(int value)
9 {
10 value &= 0xF;
11 value += 48;
12 if (value > 57)
13 {
14 value += 7;
15 }
16 return (char)value;
17 }
18}
static char ToCharUpper(int value)