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

◆ ToInfinity()

static int System.Xml.XmlConverter.ToInfinity ( bool isNegative,
byte[] buffer,
int offset )
inlinestaticprivate

Definition at line 900 of file XmlConverter.cs.

901 {
902 if (isNegative)
903 {
904 buffer[offset] = 45;
905 buffer[offset + 1] = 73;
906 buffer[offset + 2] = 78;
907 buffer[offset + 3] = 70;
908 return 4;
909 }
910 buffer[offset] = 73;
911 buffer[offset + 1] = 78;
912 buffer[offset + 2] = 70;
913 return 3;
914 }

References System.buffer, System.Xml.Dictionary, and System.offset.

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