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

◆ WriteStringFragment()

void System.Xml.XmlTextEncoder.WriteStringFragment ( string str,
int offset,
int count,
char[] helperBuffer )
inlineprivate

Definition at line 442 of file XmlTextEncoder.cs.

443 {
444 int num = helperBuffer.Length;
445 while (count > 0)
446 {
447 int num2 = count;
448 if (num2 > num)
449 {
450 num2 = num;
451 }
452 str.CopyTo(offset, helperBuffer, 0, num2);
454 offset += num2;
455 count -= num2;
456 }
457 }
virtual void Write(char value)
readonly TextWriter _textWriter

References System.Xml.XmlTextEncoder._textWriter, System.count, System.Xml.Dictionary, System.offset, System.str, and System.IO.TextWriter.Write().

Referenced by System.Xml.XmlTextEncoder.Write().