Struct AllChunksReader
pub struct AllChunksReader<R> { /* private fields */ }
Decode all chunks in the file without seeking.
The decoded chunks can be decompressed by calling
decompress_parallel, decompress_sequential, or sequential_decompressor
or parallel_decompressor. Call on_progress to have a callback with each
block. Also contains the image meta data.
Trait Implementations
impl<R: Debug> Debug for AllChunksReader<R>
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<R: Read + Seek> ChunksReader for AllChunksReader<R>
fn meta_data(&self) -> &MetaDatafn expected_chunk_count(&self) -> usize
impl<R: Read + Seek> ExactSizeIterator for AllChunksReader<R>
impl<R: Read + Seek> Iterator for AllChunksReader<R>
type Item = Result<Chunk, Error>;fn next(&mut self) -> Option<Self::Item>fn size_hint(&self) -> (usize, Option<usize>)