Skip to main content

memmem

Function memmem 

Source
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

§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!());