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

◆ WriteElementTextBlockAsync() [1/2]

async Task System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlockAsync ( char[] chars,
int index,
int count )
inlineprotectedinherited

Definition at line 2486 of file XmlEncodedRawTextWriter.cs.

2487 {
2488 int curIndex = index;
2489 int leftCount = count;
2490 bool needWriteNewLine = false;
2491 int writeLen;
2492 do
2493 {
2495 curIndex += writeLen;
2497 if (needWriteNewLine)
2498 {
2500 curIndex++;
2501 leftCount--;
2502 }
2503 else if (writeLen >= 0)
2504 {
2506 }
2507 }
2508 while (writeLen >= 0 || needWriteNewLine);
2509 }
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
unsafe int WriteElementTextBlockNoFlush(char *pSrc, char *pSrcEnd, out bool needWriteNewLine)

References System.Xml.XmlEncodedRawTextWriter._newLineChars, System.chars, System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.count, System.Xml.Dictionary, System.Xml.XmlEncodedRawTextWriter.FlushBufferAsync(), System.index, System.Xml.XmlEncodedRawTextWriter.RawTextAsync(), and System.Xml.XmlEncodedRawTextWriter.WriteElementTextBlockNoFlush().

Referenced by System.Xml.XmlEncodedRawTextWriter.WriteCharsAsync(), System.Xml.XmlEncodedRawTextWriter.WriteStringAsync(), and System.Xml.XmlEncodedRawTextWriter.WriteWhitespaceAsync().