pub fn any_slice_as_bytes<T: Copy>(data: &[T]) -> &[u8]