Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Author

       MongoDB, Inc

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.

Parameters

       • bson: A bson_t.

Returns

       A buffer which should not be modified or freed.

Synopsis

          const uint8_t *
          bson_get_data (const bson_t *bson);

See Also