Provided by: libbson-doc_1.16.1-1build2_all 

NAME
bson_writer_rollback - bson_writer_rollback()
SYNOPSIS
void bson_writer_rollback (bson_writer_t *writer);
PARAMETERS
• writer: A bson_writer_t.
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
COPYRIGHT
2017-present, MongoDB, Inc 1.16.1 Mar 03, 2020 BSON_WRITER_ROLLBACK(3)