[−][src]Function bdrck::fs::path_to_bytes
pub fn path_to_bytes<P: AsRef<Path>>(path: P) -> Result<Vec<u8>>
Returns the given Path as a byte vector. This function may be useful for some kinds of serialization, or for calling C functions.