コード例 #1
0
 public RandomAccessSectorStream(SectorStream baseStream, bool keepOpen)
 {
     _baseStream = baseStream;
     _keepOpen   = keepOpen;
     _bufferSize = baseStream.SectorSize * baseStream.MaxSectors;
     _buffer     = new byte[_bufferSize];
 }
コード例 #2
0
 public RandomAccessSectorStream(SectorStream baseStream)
     : this(baseStream, true)
 {
 }