to_string


Description:

public void to_string (char[] buf)

Converts an Variation 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 string won't include any whitespace.

Parameters:

buf

output string

size

the allocated size of buf

variation

an Variation to convert