bson_writer_destroy man page

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.

Referenced By

bson_writer_new(3).

2016‐10‐28 libbson