bson_writer_begin (3) Linux Manual Page
bson_writer_begin() – Begins writing a new document. The caller may use the bson structure to write out a new BSON document. When completed, the caller must call either bson_writer_end() or bson_writer_rollback().
Synopsis
bool
bson_writer_begin (bson_writer_t *writer,
bson_t **bson);
Parameters
- writer
- A bson_writer_t \&.
- bson
- A bson_t \&.
