read_file

Function read_file 

Source
pub fn read_file<T>(image: T, path: &str) -> Result<Vec<u8>>
where T: Read + Write + Seek,
Expand description

Read the entire contents of the file at path within the image.