Macro byte_slice::bs_starts_with22
[−]
[src]
macro_rules! bs_starts_with22 { ($context:expr, $pattern:expr) => { ... }; }
Determine if the remaining stream starts with $pattern, comparing only the first 22 bytes.
This macro assumes that $pattern.len() bytes are available for reading.