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

◆ ReadArray() [9/31]

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

Definition at line 1472 of file XmlBinaryReader.cs.

1473 {
1475 int num = Math.Min(count, _arrayCount);
1476 fixed (long* ptr = &array[offset])
1477 {
1478 base.BufferReader.UnsafeReadArray((byte*)ptr, (byte*)(ptr + num));
1479 }
1480 SkipArrayElements(num);
1481 return num;
1482 }
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().