1BSON_WRITER_BEGIN(3) Libbson BSON_WRITER_BEGIN(3)
2
3
4
6 bson_writer_begin - bson_writer_begin()
7
9 bool
10 bson_writer_begin (bson_writer_t *writer, bson_t **bson);
11
13 · writer: A bson_writer_t.
14
15 · bson: A bson_t.
16
18 Begins writing a new document. The caller may use the bson structure to
19 write out a new BSON document. When completed, the caller must call
20 either bson_writer_end() or bson_writer_rollback().
21
23 true if there was space in the underlying buffers to begin the docu‐
24 ment.
25
27 MongoDB, Inc
28
30 2017-present, MongoDB, Inc
31
32
33
34
351.13.1 Jan 24, 2019 BSON_WRITER_BEGIN(3)