Skip to main content

wrap_sync_reader

Function wrap_sync_reader 

Source
pub fn wrap_sync_reader<'a, R>(
    r: R,
    c: Compression,
) -> Box<dyn Read + Send + 'a>
where R: Read + Send + 'a,
Available on crate feature compression only.
Expand description

Wrap a sync reader with a streaming decoder. None passes through.