pub fn memmem(haystack: &[u8], needle: &[u8]) -> Option<usize>Expand description
Returns the first position of a byte needle in a bounded byte slice.
§Parameters
haystack: Input consumed bycrate::runtime::json_commands::memmem.needle: Input consumed bycrate::runtime::json_commands::memmem.
§Returns
Returns Some when crate::runtime::json_commands::memmem can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::memmem(todo!(), todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.