1BSON_WRITER_BEGIN(3) libbson BSON_WRITER_BEGIN(3)
2
3
4
6 bool
7 bson_writer_begin (bson_writer_t *writer, bson_t **bson);
8
10 • writer: A bson_writer_t.
11
12 • bson: A bson_t.
13
15 Begins writing a new document. The caller may use the bson structure to
16 write out a new BSON document. When completed, the caller must call ei‐
17 ther bson_writer_end() or bson_writer_rollback().
18
20 true if there was space in the underlying buffers to begin the docu‐
21 ment.
22
24 MongoDB, Inc
25
27 2017-present, MongoDB, Inc
28
29
30
31
321.25.1 Nov 08, 2023 BSON_WRITER_BEGIN(3)