Function bdrck::fs::path_to_bytes

source ·
pub fn path_to_bytes<P: AsRef<Path>>(path: P) -> Result<Vec<u8>>
Expand description

Returns the given Path as a byte vector. This function may be useful for some kinds of serialization, or for calling C functions.