pub fn read_file_bytes(path: &Path) -> Option<Vec<u8>>Expand description
Reads bounded file bytes for direct runtime consumers.
§Parameters
path: Input consumed bycrate::runtime::json_commands::read_file_bytes.
§Returns
Returns Some when crate::runtime::json_commands::read_file_bytes can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::read_file_bytes(std::path::Path::new("fixture.json"));§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.