SYNOPSIS
#include <bson.h> bson_reader_t * bson_reader_new_from_data (const uint8_t *data, size_t length);
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.
RETURN VALUE
A newly allocated bson_reader_t.
ERRORS
No errors are defined.
SEE ALSO
AUTHORS
This page was written by MongoDB, Inc.