示例#1
0
 public Partition(BlockDevice aHost, UInt64 aStartingSector, UInt64 aSectorCount)
 {
     mHost           = aHost;
     mStartingSector = aStartingSector;
     mBlockCount     = aSectorCount;
     mBlockSize      = aHost.BlockSize;
 }
示例#2
0
		public Partition(BlockDevice aHost, UInt64 aStartingSector, UInt64 aSectorCount)
		{
			mHost = aHost;
			mStartingSector = aStartingSector;
			mBlockCount = aSectorCount;
			mBlockSize = aHost.BlockSize;
		}
示例#3
0
		public DeviceStream(string dname)
		{
			this.a = Devices.getDevice(dname);
			this.b = new byte[this.a.get_BlockSize()];
		}