2 * Copyright 2008, Haiku, Inc.
3 * Distributed under the terms of the MIT License.
6 * François Revol <revol@free.fr>
27 CachedBlock(Volume
&volume
);
28 CachedBlock(Volume
&volume
, off_t block
);
31 uint8
*SetTo(off_t block
);
32 status_t
SetTo(off_t blockNumber
, uint32 flags
);
37 uint8
*Block() const { return fBlock
; }
38 off_t
BlockNumber() const { return fBlockNumber
; }
39 uint32
BlockSize() const { return fVolume
.BlockSize(); }
40 uint32
BlockShift() const { return fVolume
.BlockShift(); }
59 #endif /* CACHED_BLOCK_H */