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

◆ ToCharsD7()

static int System.Xml.XmlConverter.ToCharsD7 ( int value,
byte[] chars,
int offset )
inlinestaticprivate

Definition at line 1194 of file XmlConverter.cs.

1195 {
1196 int num = 7 - ToCharsR(value, chars, offset + 7);
1197 for (int i = 0; i < num; i++)
1198 {
1199 chars[offset + i] = 48;
1200 }
1201 int num2 = 7;
1202 while (num2 > 0 && chars[offset + num2 - 1] == 48)
1203 {
1204 num2--;
1205 }
1206 return num2;
1207 }
static int ToCharsR(long value, byte[] chars, int offset)

References System.chars, System.Xml.Dictionary, System.offset, System.Xml.XmlConverter.ToCharsR(), and System.value.

Referenced by System.Xml.XmlConverter.ToChars().