bson_writer_rollback man page

bson_writer_rollback ā€” bson_writer_rollback()

Synopsis

void
bson_writer_rollback (bson_writer_t *writer);

Parameters

Description

Abort the appending of the current bson_t to the memory region managed by writer. This is useful if you detected that you went past a particular memory limit. For example, MongoDB has 48MB message limits.

Author

MongoDB, Inc

Info

Apr 11, 2018 1.9.4 Libbson