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

NAME

6       bson_get_data - bson_get_data()
7

SYNOPSIS

9          const uint8_t *
10          bson_get_data (const bson_t *bson);
11

PARAMETERS

13       · bson: A bson_t.
14

DESCRIPTION

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

RETURNS

21       A buffer which should not be modified or freed.
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.16.2                           Feb 25, 2020                 BSON_GET_DATA(3)
Impressum