1BSON_WRITER_ROLLBACK(3) libbson BSON_WRITER_ROLLBACK(3)
23
4
SYNOPSIS
6void
7bson_writer_rollback (bson_writer_t *writer);
8
PARAMETERS
10• writer: A bson_writer_t.
11
DESCRIPTION
13Abort the appending of the current bson_t to the memory region managed
14by writer. This is useful if you detected that you went past a particu‐
15lar memory limit. For example, MongoDB has 48MB message limits.
16
AUTHOR
18MongoDB, Inc
19
COPYRIGHT
212017-present, MongoDB, Inc
2223
24
25
26
1.25.1 Nov 08, 2023 BSON_WRITER_ROLLBACK(3)