Function autocompress::autodetect_async_open
source · pub async fn autodetect_async_open<P: AsRef<Path>>(
path: P
) -> Result<AsyncProcessorReader<Box<dyn Processor + Send + Unpin>, BufReader<File>>>
Expand description
Open a file and automatically select a suitable decoder from magic number.