Function blocks

Source
pub fn blocks<P: AsRef<Path>>(p: P) -> Result<BlockIterator<BufReader<File>>>
Expand description

Returns iterator of blocks from the given path

ยงErrors

Returns any I/O error from opening the path. Note that the iterator itself may return any errors from reading individual blocks.