class LazyReader
Defined at line 25 of file ../../src/storage/minfs/lazy_reader.h
LazyReader helps with lazily reading blocks in a file.
Public Methods
zx::result<> Read (ByteRange range, ReaderInterface * reader)
Reads |length| bytes at offset |offset| into the buffer (if it isn't already pressent) using
the provided ReaderInterface. The actual reads will be blocks and so |range| will be aligned to
the nearest block boundaries that encompass |range|.
Defined at line 9 of file ../../src/storage/minfs/lazy_reader.cc
void LazyReader ()
Defined at line 27 of file ../../src/storage/minfs/lazy_reader.h
void LazyReader (const LazyReader & )
Defined at line 29 of file ../../src/storage/minfs/lazy_reader.h
LazyReader & operator= (const LazyReader & )
Defined at line 30 of file ../../src/storage/minfs/lazy_reader.h
void SetLoaded (BlockRange range, bool set)
Marks the given block range as loaded or not according to |set|.
Defined at line 40 of file ../../src/storage/minfs/lazy_reader.cc