Function slurp::read_all_bytes
[−]
[src]
pub fn read_all_bytes<P: AsRef<Path>>(filename: P) -> Result<Vec<u8>>
Reads the file at the given filename into a new byte vector.