Scroll to navigation

BSON_STRING_APPEND_UNICHAR(3) libbson BSON_STRING_APPEND_UNICHAR(3)

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.

October 9, 2024 1.28.1