char * dst,
dst The buffer to receive string value.
len The length, in bytes, of dst.
Retrieves the current value into a string buffer, casting as required.
The output string is always null-terminated. If the buffer is too small then the value is truncated. Up to len characters are copied to the given buffer, including the null terminator.