Scroll to navigation

BSON_STRING_APPEND(3) libbson BSON_STRING_APPEND(3)

SYNOPSIS

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


PARAMETERS

  • string: A bson_string_t.
  • str: A string.

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

COPYRIGHT

2009-present, MongoDB, Inc.

October 9, 2024 1.28.1