Module artichoke_backend::platform_string[][src]

Conversions between platform strings and bytes.

Structs

ConvertBytesError

Error returned when a platform string cannot be converted to a byte vector or a byte vector cannot be converted to a platform string.

Functions

bytes_to_os_str

Convert a byte slice to a platform-specific OsStr.

os_str_to_bytes

Convert a platform-specific OsStr to a byte slice.

os_string_to_bytes

Convert a platform-specific OsString to a byte vec.