read_file

Function read_file 

Source
pub fn read_file(file: impl AsRef<Path>) -> Result<Vec<u8>, MoshError>
Expand description

Reads provided file

ยงErrors

It may fail if input format is not supported.