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

◆ WriteRawWithCharCheckingAsync() [2/2]

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

Definition at line 2506 of file XmlUtf8RawTextWriter.cs.

2507 {
2508 int curIndex = 0;
2509 int leftCount = text.Length;
2510 bool needWriteNewLine = false;
2511 int writeLen;
2512 do
2513 {
2515 curIndex += writeLen;
2517 if (needWriteNewLine)
2518 {
2520 curIndex++;
2521 leftCount--;
2522 }
2523 else if (writeLen >= 0)
2524 {
2526 }
2527 }
2528 while (writeLen >= 0 || needWriteNewLine);
2529 }
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
unsafe int WriteRawWithCharCheckingNoFlush(char *pSrcBegin, char *pSrcEnd, out bool needWriteNewLine)

References System.Xml.XmlUtf8RawTextWriter._newLineChars, System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.Dictionary, System.Xml.XmlUtf8RawTextWriter.FlushBufferAsync(), System.Xml.XmlUtf8RawTextWriter.RawTextAsync(), System.text, and System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharCheckingNoFlush().