fn bytes_to_cstr(buf: &[u8]) -> Result<&CStr>
Converts a byte buffer to a CStr without validating path components.
CStr
Use bytes_to_path_component instead if the input is a path component.
bytes_to_path_component