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

◆ InitReadElementContentAsBinaryAsync()

async Task< bool > System.Xml.XmlTextReaderImpl.InitReadElementContentAsBinaryAsync ( )
inlineprivate

Definition at line 12836 of file XmlTextReaderImpl.cs.

12837 {
12840 if (isEmpty)
12841 {
12842 return false;
12843 }
12845 {
12846 if (_curNode.type != XmlNodeType.EndElement)
12847 {
12849 }
12851 return false;
12852 }
12853 SetupReadContentAsBinaryState(ParsingFunction.InReadElementContentAsBinary);
12855 return true;
12856 }
static string Xml_InvalidNodeType
Definition SR.cs:88
Definition SR.cs:7
virtual Task< bool > ReadAsync()
async Task< bool > MoveToNextContentNodeAsync(bool moveIfOnContentNode)
void SetupReadContentAsBinaryState(ParsingFunction inReadBinaryFunction)
void Throw(int pos, string res, string arg)
void Set(int lineNo, int linePos)
Definition LineInfo.cs:15

References System.Xml.XmlTextReaderImpl._curNode, System.Xml.XmlTextReaderImpl._incReadLineInfo, System.Xml.XmlTextReaderImpl._outerReader, System.Xml.XmlTextReaderImpl.NodeData.IsEmptyElement, System.Xml.XmlTextReaderImpl.NodeData.LineNo, System.Xml.XmlTextReaderImpl.NodeData.LinePos, System.Xml.XmlTextReaderImpl.MoveToNextContentNodeAsync(), System.Xml.XmlReader.ReadAsync(), System.Xml.LineInfo.Set(), System.Xml.XmlTextReaderImpl.SetupReadContentAsBinaryState(), System.Xml.XmlTextReaderImpl.Throw(), System.Xml.XmlTextReaderImpl.NodeData.type, and System.SR.Xml_InvalidNodeType.

Referenced by System.Xml.XmlTextReaderImpl.ReadElementContentAsBase64Async(), and System.Xml.XmlTextReaderImpl.ReadElementContentAsBinHexAsync().