Macro byte_slice::bs_starts_with24 [] [src]

macro_rules! bs_starts_with24 {
    ($context:expr, $pattern:expr) => { ... };
}

Determine if the remaining stream starts with $pattern, comparing only the first 24 bytes.

This macro assumes that $pattern.len() bytes are available for reading.