/// <summary> /// Constructs a new instance of <see cref="SignatureV32"/>. /// </summary> /// <param name="dataSet"> /// The data set the signature is contained within. /// </param> /// <param name="index"> /// The index in the data structure to the signature. /// </param> /// <param name="reader"> /// Reader connected to the source data structure and positioned to /// start reading. /// </param> internal SignatureV32( DataSet dataSet, int index, Reader reader) : base(dataSet, index, reader) { NodeCount = reader.ReadByte(); FirstNodeOffsetIndex = reader.ReadInt32(); _rank = reader.ReadInt32(); Flags = reader.ReadByte(); }
/// <summary> /// Reads the list into memory. /// </summary> /// <param name="reader"> /// Reader connected to the source data structure and positioned to /// start reading. /// </param> internal void Read(Reader reader) { for (int index = 0; index < Header.Count; index++) { _array[index] = reader.ReadInt32(); } }