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

◆ WriteRawWithCharCheckingAsync() [2/2]

async Task System.Xml.XmlEncodedRawTextWriter.WriteRawWithCharCheckingAsync ( string text)
inlineprotectedinherited

Definition at line 2841 of file XmlEncodedRawTextWriter.cs.

2842 {
2843 int curIndex = 0;
2844 int leftCount = text.Length;
2845 bool needWriteNewLine = false;
2846 int writeLen;
2847 do
2848 {
2850 curIndex += writeLen;
2852 if (needWriteNewLine)
2853 {
2855 curIndex++;
2856 leftCount--;
2857 }
2858 else if (writeLen >= 0)
2859 {
2861 }
2862 }
2863 while (writeLen >= 0 || needWriteNewLine);
2864 }
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.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.Dictionary, System.Xml.XmlEncodedRawTextWriter.FlushBufferAsync(), System.Xml.XmlEncodedRawTextWriter.RawTextAsync(), System.text, and System.Xml.XmlEncodedRawTextWriter.WriteRawWithCharCheckingNoFlush().