Function arf_strings::str_to_host

source ·
pub fn str_to_host(s: &str) -> Result<CString>
Expand description

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