1BSON_GET_DATA(3)                    libbson                   BSON_GET_DATA(3)
2
3
4

SYNOPSIS

6          const uint8_t *
7          bson_get_data (const bson_t *bson);
8

PARAMETERS

10bson: A bson_t.
11

DESCRIPTION

13       The bson_get_data() function shall return the raw buffer of a bson doc‐
14       ument. This can be used in conjunction  with  the  len  property  of  a
15       bson_t if you want to copy the raw buffer around.
16

RETURNS

18       A buffer which should not be modified or freed.
19

AUTHOR

21       MongoDB, Inc
22
24       2017-present, MongoDB, Inc
25
26
27
28
291.25.1                           Nov 08, 2023                 BSON_GET_DATA(3)
Impressum