/// <summary> /// Read Header page from ByteReader /// </summary> private HeaderPage_v6 ReadHeaderPage(ByteReader reader) { var page = new HeaderPage_v6(); reader.Skip(100); var cols = reader.ReadByte(); for (var i = 0; i < cols; i++) { page.CollectionPages.Add(reader.ReadString(), reader.ReadUInt32()); } return(page); }
/// <summary> /// Read Header page from ByteReader /// </summary> private HeaderPage_v6 ReadHeaderPage(ByteReader reader) { var page = new HeaderPage_v6(); reader.Skip(60); // HEADER_INFO + FILE_VERSION + ChangeID + FreeEmptyPageID + LastPageID + DbVersion + Password var cols = reader.ReadByte(); for (var i = 0; i < cols; i++) { page.CollectionPages.Add(reader.ReadString(), reader.ReadUInt32()); } return(page); }