logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Deprecated since version 1.29.0.

Author

       MongoDB, Inc

Description

       Creates   a   new   string   builder,  which  uses  power-of-two  growth  of  buffers.  Use  the  various
       bson_string_append*() functions to append to the string.

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

Parameters

str: A string to be copied or NULL.

Returns

       A newly allocated bson_string_t that should be freed with bson_string_free() when no longer in use.

Synopsis

          bson_string_t *
          bson_string_new (const char *str);

Warning:

          Deprecated since version 1.29.0.

See Also