macro_rules! slice_starts_with {
($s:expr, $prefix:expr) => { ... };
}Expand description
Check if a slice starts with another slice. This only works for slices of primitive integer types and str.
macro_rules! slice_starts_with {
($s:expr, $prefix:expr) => { ... };
}Check if a slice starts with another slice. This only works for slices of primitive integer types and str.