pub fn write_binary_file(path: &Path, bytes: &[u8]) -> i32Expand description
Writes bounded binary data to an app-owned file.
§Parameters
path: Input consumed bycrate::runtime::json_commands::write_binary_file.bytes: Input consumed bycrate::runtime::json_commands::write_binary_file.
§Returns
Returns the computed value produced by crate::runtime::json_commands::write_binary_file.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::write_binary_file(std::path::Path::new("fixture.json"), b"");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.