Macro byte_slice::bs_find [] [src]

macro_rules! bs_find {
    ($context:expr, $start:expr, $byte:expr) => { ... };
    ($context:expr, $byte:expr) => { ... };
}

Find the first occurrence of $byte and return the index relative to $context.stream_index.

$start is the starting index relative to $context.stream_index.