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