[][src]Function artichoke_backend::ffi::bytes_to_os_str

pub fn bytes_to_os_str(value: &[u8]) -> Result<&OsStr, ConvertBytesError>

Convert a byte slice to a platform-specific OsStr.

Unsupported platforms fallback to converting through str.