Scroll to navigation

BSON_WRITER_DESTROY(3) Library Functions Manual BSON_WRITER_DESTROY(3)

NAME

bson_writer_destroy() - Cleanup after writer and release any allocated memory. Note that the buffer supplied to bson_writer_new() is NOT freed from this method. The caller is responsible for that.

SYNOPSIS


void bson_writer_destroy (bson_writer_t *writer);

PARAMETERS

writer
A bson_writer_t

DESCRIPTION

Cleanup after writer and release any allocated memory. Note that the buffer supplied to bson_writer_new(3) is NOT freed from this method. The caller is responsible for that.

COLOPHON

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