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

◆ WriteRawWithCharCheckingAsync() [1/2]

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

Definition at line 2816 of file XmlEncodedRawTextWriter.cs.

2817 {
2818 int curIndex = index;
2819 int leftCount = count;
2820 bool needWriteNewLine = false;
2821 int writeLen;
2822 do
2823 {
2825 curIndex += writeLen;
2827 if (needWriteNewLine)
2828 {
2830 curIndex++;
2831 leftCount--;
2832 }
2833 else if (writeLen >= 0)
2834 {
2836 }
2837 }
2838 while (writeLen >= 0 || needWriteNewLine);
2839 }
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
unsafe int WriteRawWithCharCheckingNoFlush(char *pSrcBegin, 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.WriteRawWithCharCheckingNoFlush().

Referenced by System.Xml.XmlEncodedRawTextWriter.WriteRawAsync(), and System.Xml.XmlEncodedRawTextWriter.WriteRawAsync().