Skip to main content

write_binary

Function write_binary 

Source
pub fn write_binary<P: AsRef<Path>>(
    source_path: P,
    binary_data: &[u8],
    config: &BinaryConfig,
) -> Result<PathBuf>
Expand description

Write binary data to the correct .dx path

Creates directories as needed and writes the binary data.