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

◆ WriteRaw() [2/2]

override void System.Xml.XmlAutoDetectWriter.WriteRaw ( string data)
inline

Definition at line 170 of file XmlAutoDetectWriter.cs.

171 {
172 if (TextBlockCreatesWriter(data))
173 {
174 _wrapped.WriteRaw(data);
175 }
176 else
177 {
178 _eventCache.WriteRaw(data);
179 }
180 }
bool TextBlockCreatesWriter(string textBlock)
readonly XmlEventCache _eventCache
override void WriteRaw(char[] buffer, int index, int count)
override void WriteRaw(char[] buffer, int index, int count)

References System.Xml.XmlAutoDetectWriter._eventCache, System.Xml.XmlAutoDetectWriter._wrapped, System.Xml.XmlAutoDetectWriter.TextBlockCreatesWriter(), System.Xml.XmlEventCache.WriteRaw(), and System.Xml.XmlRawWriter.WriteRaw().