to_c_strings

Function to_c_strings 

Source
pub fn to_c_strings(s: Vec<Field>) -> Vec<CString>
๐Ÿ‘ŽDeprecated since 0.11.0
Expand description

Converts fields to C strings.

ยงDeprecated

This function is deprecated because it does not handle null bytes in field values. If a field contains a null byte, the field is simply skipped, which may lead to unexpected behavior. Users are encouraged to implement their own conversion that handles null bytes appropriately.