pub unsafe fn c_str_to_bytes<'a>(ptr: *const c_char) -> Option<&'a [u8]>
Convert a C string pointer to a byte slice (NULL-safe).
ptr