public BlockAllocationTable Create() { dataReader.SetPosition(header.TableOffset); var bat = new uint[header.MaxTableEntries]; for (int block = 0; block < header.MaxTableEntries; block++) { bat[block] = dataReader.ReadUInt32(); } return(new BlockAllocationTable(header.MaxTableEntries, header.BlockSize, bat)); }
private uint ReadCheckSum(VhdPropertyAttribute attribute) { return(dataReader.ReadUInt32(GetFooterOffset() + attribute.Offset)); }
private PlatformCode ReadPlaformCode(VhdPropertyAttribute attribute) { return((PlatformCode)dataReader.ReadUInt32(offset + attribute.Offset)); }
private uint ReadReserved1(VhdPropertyAttribute attribute) { return(dataReader.ReadUInt32(headerOffset + attribute.Offset)); }