[][src]Function rate_common::parser::read_compressed_file

Important traits for Input<'_>
pub fn read_compressed_file(filename: &str, binary: bool) -> Input

Return an Input to read from a possibly compressed file.

If the file is compressed it is transparently uncompressed. Argument binary is passed on to Input.