pub fn as_string_mut(ptr: *mut i8) -> Result<String, Utf8Error>
Convert pointer to CString to String.