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

◆ ReadArray() [8/31]

unsafe int System.Xml.XmlBinaryReader.ReadArray ( int[] array,
int offset,
int count )
inlineprivate

Definition at line 1442 of file XmlBinaryReader.cs.

1443 {
1445 int num = Math.Min(count, _arrayCount);
1446 fixed (int* ptr = &array[offset])
1447 {
1448 base.BufferReader.UnsafeReadArray((byte*)ptr, (byte*)(ptr + num));
1449 }
1450 SkipArrayElements(num);
1451 return num;
1452 }
void CheckArray(Array array, int offset, int count)

References System.Xml.XmlBinaryReader._arrayCount, System.array, System.Xml.XmlBinaryReader.CheckArray(), System.count, System.Xml.Dictionary, System.Math.Min(), System.offset, and System.Xml.XmlBinaryReader.SkipArrayElements().