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

◆ ReadArray() [2/31]

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

Definition at line 1382 of file XmlBinaryReader.cs.

1383 {
1385 int num = Math.Min(count, _arrayCount);
1386 fixed (bool* ptr = &array[offset])
1387 {
1388 base.BufferReader.UnsafeReadArray((byte*)ptr, (byte*)(ptr + num));
1389 }
1390 SkipArrayElements(num);
1391 return num;
1392 }
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().