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

◆ ToZero()

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

Definition at line 916 of file XmlConverter.cs.

917 {
918 if (isNegative)
919 {
920 buffer[offset] = 45;
921 buffer[offset + 1] = 48;
922 return 2;
923 }
924 buffer[offset] = 48;
925 return 1;
926 }

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