bson_string_append()#

Synopsis#

void
bson_string_append (bson_string_t *string, const char *str);

Parameters#

Description#

Appends the ASCII or UTF-8 encoded string str to string. This is not suitable for embedding NULLs in strings.

Warning

This function will abort if the length of the resulting string (including the NULL terminator) would exceed UINT32_MAX.