pub fn write<P, D>(path: P, data: D) -> Result<()>where P: AsRef<Path>, D: AsRef<[u8]>,
Write to a file given its path and data
path
data