[−][src]Function artichoke_backend::ffi::os_str_to_bytes
pub fn os_str_to_bytes(value: &OsStr) -> Result<&[u8], ConvertBytesError>
Convert a platform-specific OsStr
to a byte slice.
Unsupported platforms fallback to converting through str
.