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

◆ GetCharBuffer()

char[] System.Xml.XmlUTF8NodeWriter.GetCharBuffer ( int charCount)
inlineprivate

Definition at line 104 of file XmlUTF8NodeWriter.cs.

105 {
106 if (charCount >= 256)
107 {
108 return new char[charCount];
109 }
110 if (_chars == null || _chars.Length < charCount)
111 {
112 _chars = new char[charCount];
113 }
114 return _chars;
115 }

References System.Xml.XmlUTF8NodeWriter._chars, and System.charCount.

Referenced by System.Xml.XmlUTF8NodeWriter.WriteUniqueIdText().