private IAsyncResult BeginReadFileLocator(ParentLocator locator, AsyncCallback callback, object state) { return(dataReader.BeginReadBytes(locator.PlatformDataOffset, locator.PlatformDataLength, callback, locator)); }
private IAsyncResult BeginReadWholeFooter(VhdPropertyAttribute attribute, AsyncCallback callback, object state) { return(dataReader.BeginReadBytes(this.GetFooterOffset() + attribute.Offset, attribute.Size, callback, state)); }
private IAsyncResult BeginReadRawData(VhdPropertyAttribute attribute, AsyncCallback callback, object state) { return(dataReader.BeginReadBytes(headerOffset + attribute.Offset, attribute.Size, callback, state)); }