bson_string_append - Man Page

Warning:

Deprecated since version 1.29.0.

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:

The length of the resulting string (including the NULL terminator) MUST NOT exceed UINT32_MAX.

Author

MongoDB, Inc

Info

Feb 04, 2026 1.30.7 libbson