byte_slice_cast
0.2.0
Function
byte_slice_cast
::
check_constraints
Copy item path
source
ยท
[
−
]
pub(crate) fn check_constraints<T, U>(data: &
[T]
) ->
Result
<
usize
,
Error
>