hsmtool::util::helper

Function write_file

Source
pub fn write_file<P: AsRef<Path>>(path: P, data: &[u8]) -> Result<()>
Expand description

Writes data to a file.