Provided by: libbson-doc_1.3.1-1_all bug

NAME

       bson_get_data()  -  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.

SYNOPSIS

       const uint8_t *
       bson_get_data (const bson_t *bson);

PARAMETERS

       bson   A bson_t \&.

DESCRIPTION

       The bson_get_data(3) 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.

COLOPHON

       This page is part of libbson.  Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

libbson                                            2016‐01‐18                                   BSON_GET_DATA(3)