carta
bson_writer_new(3)

bson_writer_new3

Parameters

•

buf: A uint8_t.

•

buflen: A size_t.

•

offset: A size_t.

•

realloc_func: A bson_realloc_func.

•

realloc_func_ctx: A bson_realloc_func.

Overview

Creates a new instance of bson_writer_t using the buffer, length, offset, and _realloc()_ function supplied.

The caller is expected to clean up the structure when finished using bson_writer_destroy().

Returns

A newly allocated bson_writer_t.

History

  • Debian 13 (Trixie): the text shown here
  • Debian 12 (Bookworm)
  • Debian 11 (Bullseye)
  • Debian 10 (Buster)
  • Debian 9 (Stretch)

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.