Function byte_slice_cast::check_constraints

source ยท
pub(crate) fn check_constraints<T, U>(data: &[T]) -> Result<usize, Error>