ReadUInt32() public method

public ReadUInt32 ( ) : uint
return uint
        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));
        }
Ejemplo n.º 2
0
 private uint ReadReserved1(VhdPropertyAttribute attribute)
 {
     return(dataReader.ReadUInt32(headerOffset + attribute.Offset));
 }
Ejemplo n.º 3
0
 private uint ReadCheckSum(VhdPropertyAttribute attribute)
 {
     return(dataReader.ReadUInt32(GetFooterOffset() + attribute.Offset));
 }
 private PlatformCode ReadPlaformCode(VhdPropertyAttribute attribute)
 {
     return((PlatformCode)dataReader.ReadUInt32(offset + attribute.Offset));
 }