pub fn i8_to_u8_slice(s: &[i8]) -> &[u8] ⓘ
Convert a &[i8] to &[u8]. Useful when interacting with C strings. Panics if u8::try_from(c) fails for any c in the slice.
&[i8]
&[u8]
u8::try_from(c)
c