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

◆ ToBase16()

int System.Xml.XmlUTF8NodeWriter.ToBase16 ( byte[] chars,
int offset,
uint value )
inlineprivate

Definition at line 608 of file XmlUTF8NodeWriter.cs.

609 {
610 int num = 0;
611 do
612 {
613 num++;
614 chars[--offset] = s_digits[value & 0xF];
615 value /= 16;
616 }
617 while (value != 0);
618 return num;
619 }
static readonly byte[] s_digits

References System.chars, System.offset, System.Xml.XmlUTF8NodeWriter.s_digits, and System.value.

Referenced by System.Xml.XmlUTF8NodeWriter.WriteHexCharEntity().