Function autocompress::autodetect_async_buf_reader
source · pub async fn autodetect_async_buf_reader<R: AsyncBufRead + Unpin>(
reader: R
) -> Result<AsyncProcessorReader<Box<dyn Processor + Send + Unpin>, R>>
Expand description
Automatically select suitable decoder from magic number from AsyncBufRead
.