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

◆ FlushTrailBytesAsync()

async Task System.Xml.XmlBaseWriter.FlushTrailBytesAsync ( )
inlineprivateinherited

Definition at line 2517 of file XmlBaseWriter.cs.

2518 {
2519 if (_attributeValue != null)
2520 {
2521 WriteAttributeText(XmlConverter.Base64Encoding.GetString(_trailBytes, 0, _trailByteCount));
2522 }
2523 if (!_isXmlnsAttribute)
2524 {
2527 EndContent();
2528 }
2529 _trailByteCount = 0;
2530 }
new ConfiguredTaskAwaitable< TResult > ConfigureAwait(bool continueOnCapturedContext)
Definition Task.cs:226
void WriteAttributeText(string value)
virtual Task WriteBase64TextAsync(byte[] trailBuffer, int trailCount, byte[] buffer, int offset, int count)

References System.Xml.XmlBaseWriter._attributeValue, System.Xml.XmlBaseWriter._isXmlnsAttribute, System.Xml.XmlBaseWriter._trailByteCount, System.Xml.XmlBaseWriter._trailBytes, System.Xml.XmlBaseWriter._writer, System.Xml.XmlConverter.Base64Encoding, System.Threading.Tasks.Task< TResult >.ConfigureAwait(), System.Xml.Dictionary, System.Xml.XmlBaseWriter.EndContent(), System.Xml.XmlBaseWriter.StartContentAsync(), System.Xml.XmlBaseWriter.WriteAttributeText(), and System.Xml.XmlNodeWriter.WriteBase64TextAsync().

Referenced by System.Xml.XmlBaseWriter.FlushBase64Async().