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