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

◆ WriteRawWithCharCheckingAsync() [1/2]

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

Definition at line 2481 of file XmlUtf8RawTextWriter.cs.

2482 {
2483 int curIndex = index;
2484 int leftCount = count;
2485 bool needWriteNewLine = false;
2486 int writeLen;
2487 do
2488 {
2490 curIndex += writeLen;
2492 if (needWriteNewLine)
2493 {
2495 curIndex++;
2496 leftCount--;
2497 }
2498 else if (writeLen >= 0)
2499 {
2501 }
2502 }
2503 while (writeLen >= 0 || needWriteNewLine);
2504 }
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.chars, System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.count, System.Xml.Dictionary, System.Xml.XmlUtf8RawTextWriter.FlushBufferAsync(), System.index, System.Xml.XmlUtf8RawTextWriter.RawTextAsync(), and System.Xml.XmlUtf8RawTextWriter.WriteRawWithCharCheckingNoFlush().

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