Macro byte_slice::bs_find_pattern
[−]
[src]
macro_rules! bs_find_pattern { ($context:expr, $start:expr, $pattern:expr) => { ... }; ($context:expr, $pattern:expr) => { ... }; }
Find the first occurrence of $pattern
and return the index relative to
$context.stream_index
.
$start
is the starting index relative to $context.stream_index
.