Function file::get
[−]
[src]
pub fn get<P: AsRef<Path>>(path: P) -> Result<Vec<u8>, Error>
Read a file into Vec<u8>
from the given path.
The path can be a string or a Path
.