Macro bs_starts_with4

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

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

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