bs_starts_with10

Macro bs_starts_with10 

Source
macro_rules! bs_starts_with10 {
    ($context:expr, $pattern:expr) => { ... };
}
Expand description

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

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