pub fn slice_to_be16(v: &[u8]) -> u16