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