1BSON_WRITER_BEGIN(3)                libbson               BSON_WRITER_BEGIN(3)
2
3
4

NAME

6       bson_writer_begin - bson_writer_begin()
7

SYNOPSIS

9          bool
10          bson_writer_begin (bson_writer_t *writer, bson_t **bson);
11

PARAMETERS

13       · writer: A bson_writer_t.
14
15       · bson: A bson_t.
16

DESCRIPTION

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

RETURNS

23       true  if  there  was space in the underlying buffers to begin the docu‐
24       ment.
25

AUTHOR

27       MongoDB, Inc
28
30       2017-present, MongoDB, Inc
31
32
33
34
351.17.4                           Feb 04, 2021             BSON_WRITER_BEGIN(3)
Impressum