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

◆ CDATAValue()

string System.Xml.XmlSqlBinaryReader.CDATAValue ( )
inlineprivate

Definition at line 2601 of file XmlSqlBinaryReader.cs.

2602 {
2603 string text = GetString(_tokDataPos, _tokLen);
2605 while (PeekToken() == BinXmlToken.CData)
2606 {
2607 _pos++;
2608 if (stringBuilder == null)
2609 {
2610 stringBuilder = new StringBuilder(text.Length + text.Length / 2);
2611 stringBuilder.Append(text);
2612 }
2613 stringBuilder.Append(ParseText());
2614 }
2615 if (stringBuilder != null)
2616 {
2617 text = stringBuilder.ToString();
2618 }
2620 return text;
2621 }
string GetString(int pos, int cch)

References System.Xml.XmlSqlBinaryReader._pos, System.Xml.XmlSqlBinaryReader._stringValue, System.Xml.XmlSqlBinaryReader._tokDataPos, System.Xml.XmlSqlBinaryReader._tokLen, System.Xml.XmlSqlBinaryReader.GetString(), System.Xml.XmlSqlBinaryReader.ParseText(), System.Xml.XmlSqlBinaryReader.PeekToken(), and System.text.