Skip to main content

open_file

Function open_file 

Source
pub fn open_file(file_path: &str) -> (Box<dyn Decoder>, Box<dyn FormatReader>)
Expand description

Open a file and return a decoder plus format reader.

This is a convenience wrapper around get_reader and get_decoder.