public IvfcHeader(BinaryReader reader) { Magic = reader.ReadAscii(4); reader.BaseStream.Position += 2; Version = reader.ReadInt16(); MasterHashSize = reader.ReadInt32(); NumLevels = reader.ReadInt32(); for (int i = 0; i < LevelHeaders.Length; i++) { LevelHeaders[i] = new IvfcLevelHeader(reader); } SaltSource = reader.ReadBytes(0x20); if (reader.BaseStream.Position + 0x20 >= reader.BaseStream.Length) { return; } MasterHash = reader.ReadBytes(0x20); }