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

◆ GetCharBuffer()

char[] System.Xml.XmlBaseReader.GetCharBuffer ( int count)
inlineprivateinherited

Definition at line 2990 of file XmlBaseReader.cs.

2991 {
2992 if (count > 1024)
2993 {
2994 return new char[count];
2995 }
2996 if (_chars == null || _chars.Length < count)
2997 {
2998 _chars = new char[count];
2999 }
3000 return _chars;
3001 }

References System.Xml.XmlBaseReader._chars, and System.count.

Referenced by System.Xml.XmlBaseReader.ReadBytes().