[][src]Function artichoke_backend::ffi::os_string_to_bytes

pub fn os_string_to_bytes(value: OsString) -> Result<Vec<u8>, ConvertBytesError>

Convert a platform-specific OsString to a byte vec.

Unsupported platforms fallback to converting through String.