예제 #1
0
 public VhdFile(VhdFooter footer, VhdHeader header, BlockAllocationTable bat, VhdFile parent, Stream stream)
 {
     this.Footer = footer;
     this.Header = header;
     this.BlockAllocationTable = bat;
     this.Parent = parent;
     this.reader = new BinaryReader(stream, Encoding.Unicode);
     DataReader = new VhdDataReader(this.reader);
 }
예제 #2
0
 public VhdFile(VhdFooter footer, VhdHeader header, BlockAllocationTable bat, VhdFile parent, Stream stream)
 {
     this.Footer = footer;
     this.Header = header;
     this.BlockAllocationTable = bat;
     this.Parent = parent;
     this.reader = new BinaryReader(stream, Encoding.Unicode);
     DataReader  = new VhdDataReader(this.reader);
 }