bs_starts_with18

Macro bs_starts_with18 

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

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

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