SYNOPSIS
#include <bson.h> const uint8_t * bson_get_data (const bson_t *bson);
DESCRIPTION
The bson_get_data() function shall return the raw buffer of a bson document. This can be used in conjunction with the len property of a bson_t if you want to copy the raw buffer around.
RETURN VALUE
A buffer which should not be modified or freed.
ERRORS
No errors are defined.
AUTHORS
This page was written by MongoDB, Inc.