void
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 BSON_WRITER_ROLLBACK(3)
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.
Parameters
• writer: A bson_writer_t.
Synopsis
void
bson_writer_rollback (bson_writer_t *writer);
