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

◆ HexsToCharsHexOutput()

static unsafe int System.Guid.HexsToCharsHexOutput ( char * guidChars,
int a,
int b )
inlinestaticprivate

Definition at line 870 of file Guid.cs.

871 {
872 *guidChars = '0';
873 guidChars[1] = 'x';
874 guidChars[2] = HexConverter.ToCharLower(a >> 4);
875 guidChars[3] = HexConverter.ToCharLower(a);
876 guidChars[4] = ',';
877 guidChars[5] = '0';
878 guidChars[6] = 'x';
879 guidChars[7] = HexConverter.ToCharLower(b >> 4);
880 guidChars[8] = HexConverter.ToCharLower(b);
881 return 9;
882 }

References System.HexConverter.ToCharLower().

Referenced by System.Guid.TryFormat().