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

◆ WriteBase64()

override void System.Xml.XmlWellFormedWriter.WriteBase64 ( byte[] buffer,
int index,
int count )
inline

Definition at line 2145 of file XmlWellFormedWriter.cs.

2146 {
2147 try
2148 {
2149 if (buffer == null)
2150 {
2151 throw new ArgumentNullException("buffer");
2152 }
2153 if (index < 0)
2154 {
2155 throw new ArgumentOutOfRangeException("index");
2156 }
2157 if (count < 0)
2158 {
2159 throw new ArgumentOutOfRangeException("count");
2160 }
2161 if (count > buffer.Length - index)
2162 {
2163 throw new ArgumentOutOfRangeException("count");
2164 }
2165 AdvanceState(Token.Base64);
2167 }
2168 catch
2169 {
2170 _currentState = State.Error;
2171 throw;
2172 }
2173 }
void WriteBase64(byte[] buffer, int index, int count)

References System.Xml.XmlWellFormedWriter._currentState, System.Xml.XmlWellFormedWriter._writer, System.Xml.XmlWellFormedWriter.AdvanceState(), System.buffer, System.count, System.index, and System.Xml.XmlWriter.WriteBase64().