GetBytes() public method

public GetBytes ( ulong offset, ulong length ) : byte[]
offset ulong
length ulong
return byte[]
コード例 #1
0
		public FileSystemNTFS(IFileSystemStore store) {
			Store = store;

			LoadBPB();

			_mftSector = (BPB_MFTStartCluster64 * BPB_SecPerClus);
			_MFT = new FileNTFS(MFTRecord.Load(0, this), "");
			_root = new FolderNTFS(MFTRecord.Load(5, this), "", true);

			_bitmapFile = new FileNTFS(MFTRecord.Load(6, this), "");
			_bitmap = _bitmapFile.GetBytes(0, _bitmapFile.StreamLength);
		}
コード例 #2
0
        public FileSystemNTFS(IFileSystemStore store)
        {
            Store = store;

            LoadBPB();

            _mftSector = (BPB_MFTStartCluster64 * BPB_SecPerClus);
            _MFT       = new FileNTFS(MFTRecord.Load(0, this), "");
            _root      = new FolderNTFS(MFTRecord.Load(5, this), "", true);

            _bitmapFile = new FileNTFS(MFTRecord.Load(6, this), "");
            _bitmap     = _bitmapFile.GetBytes(0, _bitmapFile.StreamLength);
        }