Function gstuff::slurp
[−]
[src]
pub fn slurp(path: &AsRef<Path>) -> Vec<u8>
Read contents of the file into a Vec
.
Returns an empty Vec
if the file is not present under the given path.