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

◆ IncrementalRead() [2/2]

int System.Xml.XmlTextReaderImpl.IncrementalRead ( Array array,
int index,
int count )
inlineprivate

Definition at line 7332 of file XmlTextReaderImpl.cs.

7333 {
7334 if (array == null)
7335 {
7336 throw new ArgumentNullException((_incReadDecoder is IncrementalReadCharsDecoder) ? "buffer" : "array");
7337 }
7338 if (count < 0)
7339 {
7340 throw new ArgumentOutOfRangeException((_incReadDecoder is IncrementalReadCharsDecoder) ? "count" : "len");
7341 }
7342 if (index < 0)
7343 {
7344 throw new ArgumentOutOfRangeException((_incReadDecoder is IncrementalReadCharsDecoder) ? "index" : "offset");
7345 }
7346 if (array.Length - index < count)
7347 {
7348 throw new ArgumentException((_incReadDecoder is IncrementalReadCharsDecoder) ? "count" : "len");
7349 }
7350 if (count == 0)
7351 {
7352 return 0;
7353 }
7358 }
void SetNextOutputBuffer(Array array, int offset, int len)
IncrementalReadDecoder _incReadDecoder

References System.Xml.XmlTextReaderImpl._incReadDecoder, System.Xml.XmlTextReaderImpl._incReadLineInfo, System.Xml.ArgumentException, System.array, System.count, System.Xml.IncrementalReadDecoder.DecodedCount, System.Xml.Dictionary, System.Xml.XmlTextReaderImpl.IncrementalRead(), System.index, and System.Xml.IncrementalReadDecoder.SetNextOutputBuffer().