pub fn slurp(path: &dyn AsRef<Path>) -> Vec<u8> ⓘ
Read contents of the file into a Vec. Similar to std::fs::read.
Vec
std::fs::read
Returns an empty Vec if the file is not present under the given path.