pub fn c_str_to_rnp_buffer<S: AsRef<[u8]>>(s: S) -> Option<*mut c_char>
Expand description

Copies a C string to a buffer, adding a terminating zero.

Fails on embedded zeros.