Function arf_strings::bytes_to_host[][src]

pub fn bytes_to_host(bytes: &[u8]) -> Result<CString>
Expand description

Convert a byte sequence which is either plain UTF-8 or an ARF encoding into a CString ready for use in POSIX-style APIs.