BSON_WRITER_NEW(3) | libbson | BSON_WRITER_NEW(3) |
bson_writer_t * bson_writer_new (uint8_t **buf, size_t *buflen, size_t offset, bson_realloc_func realloc_func, void *realloc_func_ctx);
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().
A newly allocated bson_writer_t.
MongoDB, Inc
2017-present, MongoDB, Inc
March 31, 2024 | 1.26.0 |