table of contents
other versions
- bookworm 1.23.1-1+deb12u1
- testing 1.30.4-1
- unstable 1.30.4-1
- experimental 2.0.2-1
BSON_GET_DATA(3) | libbson | BSON_GET_DATA(3) |
SYNOPSIS¶
const uint8_t * bson_get_data (const bson_t *bson);
PARAMETERS¶
- •
- bson: A bson_t.
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.
RETURNS¶
A buffer which should not be modified or freed.
AUTHOR¶
MongoDB, Inc
COPYRIGHT¶
2009-present, MongoDB, Inc.
October 9, 2024 | 1.28.1 |