bson_string_append_unichar(3)

BSON_STRING_APPEND_UNICHAR(3) libbson BSON_STRING_APPEND_UNICHAR(3)

Warning:

Deprecated since version 1.29.0.



SYNOPSIS

void
bson_string_append_unichar (bson_string_t *string, bson_unichar_t unichar);


PARAMETERS

  • string: A bson_string_t <>.
  • unichar: A bson_unichar_t <>.

DESCRIPTION

Appends a unicode character to string. The character will be encoded into its multi-byte UTF-8 representation.

Warning:

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


Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

February 10, 2026 1.30.7