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

◆ ReadChars()

int System.Xml.XmlTextReaderImpl.ReadChars ( char[] buffer,
int index,
int count )
inlinepackage

Definition at line 2670 of file XmlTextReaderImpl.cs.

2671 {
2672 if (_parsingFunction == ParsingFunction.InIncrementalRead)
2673 {
2675 {
2676 if (_readCharsDecoder == null)
2677 {
2678 _readCharsDecoder = new IncrementalReadCharsDecoder();
2679 }
2682 }
2684 }
2685 if (_curNode.type != XmlNodeType.Element)
2686 {
2687 return 0;
2688 }
2690 {
2692 return 0;
2693 }
2694 if (_readCharsDecoder == null)
2695 {
2696 _readCharsDecoder = new IncrementalReadCharsDecoder();
2697 }
2700 }
IncrementalReadCharsDecoder _readCharsDecoder
void InitIncrementalRead(IncrementalReadDecoder decoder)
IncrementalReadDecoder _incReadDecoder

References System.Xml.XmlTextReaderImpl._curNode, System.Xml.XmlTextReaderImpl._incReadDecoder, System.Xml.XmlTextReaderImpl._outerReader, System.Xml.XmlTextReaderImpl._parsingFunction, System.Xml.XmlTextReaderImpl._readCharsDecoder, System.buffer, System.count, System.Xml.XmlTextReaderImpl.IncrementalRead(), System.index, System.Xml.XmlTextReaderImpl.InitIncrementalRead(), System.Xml.XmlTextReaderImpl.NodeData.IsEmptyElement, System.Xml.XmlReader.Read(), System.Xml.IncrementalReadCharsDecoder.Reset(), and System.Xml.XmlTextReaderImpl.NodeData.type.

Referenced by System.Xml.XmlTextReader.ReadChars().