to_string


Description:

[ Version ( since = "0.9.5" ) ]
public void to_string (out char[] buf)

Converts a Feature into a `NULL`-terminated string in the format understood by from_string.

The client in responsible for allocating big enough size for buf, 128 bytes is more than enough.

Note that the feature value will be omitted if it is '1', but the string won't include any whitespace.

Parameters:

buf

output string

feature

an Feature to convert

size

the allocated size of buf