Skip to main content

write_binary_file

Function write_binary_file 

Source
pub fn write_binary_file(path: &Path, bytes: &[u8]) -> i32
Expand description

Writes bounded binary data to an app-owned file.

§Parameters

§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"");