Provided by: libbson-doc_1.3.1-1_all bug

NAME

       bson_writer_rollback()  -  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.

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.

COLOPHON

       This page is part of libbson.  Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

libbson                                            2016‐01‐18                            BSON_WRITER_ROLLBACK(3)