private string ReadFileLocator(ParentLocator locator) { var fileLocator = dataReader.ReadBytes(locator.PlatformDataOffset, locator.PlatformDataLength); return(CreateFileLocator(locator, fileLocator)); }
private byte[] ReadWholeFooter(VhdPropertyAttribute attribute) { return(dataReader.ReadBytes(GetFooterOffset() + attribute.Offset, attribute.Size)); }
private byte[] ReadRawData(VhdPropertyAttribute attribute) { return(dataReader.ReadBytes(headerOffset + attribute.Offset, attribute.Size)); }