[−][src]Function exr::image::read_all_lines_from_buffered
#[must_use] pub fn read_all_lines_from_buffered<T>(
read: impl Read + Send,
new: impl Fn(&[Header]) -> Result<T>,
insert: impl FnMut(&mut T, &[Header], LineRef) -> UnitResult,
options: ReadOptions<impl OnReadProgress>
) -> Result<T>
Reads and decompresses all chunks of a file sequentially without seeking.
Will not skip any parts of the file. Does not buffer the reader, you should always pass a BufReader
.
The progress argument may be a closure.