pub fn strndup(value: &str, limit: usize) -> StringExpand description
Returns at most limit UTF-8 bytes from a string without splitting characters.
§Parameters
value: Input consumed bycrate::runtime::json_commands::strndup.limit: Input consumed bycrate::runtime::json_commands::strndup.
§Returns
Returns the computed value produced by crate::runtime::json_commands::strndup.
§Performance
Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::strndup.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::strndup("value", todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.