pub fn compare_slice<'a, 'b>(x: &'a [u8], y: &'a [u8]) -> bool
Helper function to compare two slices.