logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

bson_reader_t *

Author

       MongoDB, Inc

Description

       The bson_reader_new_from_data() function shall create a new bson_reader_t using the buffer supplied. data
       is not copied and MUST be valid for the lifetime of the resulting bson_reader_t.

Parameters

data: A uint8_t.

       • length: A size_t.

Returns

       A newly allocated bson_reader_t.

Synopsis

          bson_reader_t *
          bson_reader_new_from_data (const uint8_t *data, size_t length);

See Also