bson_reinit - Man Page
Synopsis
void bson_reinit (bson_t *b);
Parameters
- b: A bson_t <>ā.
Description
Reinitializes a bson_t <>ā.
If the bson_t <> structure contains a malloc()'d buffer, it may be reused. To be certain that any buffer is freed, always call bson_destroy() <> on any bson_t <> structure, whether initialized or reinitialized, after its final use.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
Info
Oct 09, 2026 2.5.6 libbson