pub fn host_to_bytes(host: &OsStr) -> Result<Vec<u8>>
Expand description

Convert an &OsStr produced by Windows-style APIs into a Cow<[u8]> which is either plain UTF-8 or an ARF encoding.