1BSON_READER_NEW_FROM_DATA(3) libbson BSON_READER_NEW_FROM_DATA(3)
2
3
4
6 bson_reader_new_from_data - bson_reader_new_from_data()
7
9 bson_reader_t *
10 bson_reader_new_from_data (const uint8_t *data, size_t length);
11
13 • data: A uint8_t.
14
15 • length: A size_t.
16
18 The bson_reader_new_from_data() function shall create a new
19 bson_reader_t using the buffer supplied. data is not copied and MUST be
20 valid for the lifetime of the resulting bson_reader_t.
21
23 A newly allocated bson_reader_t.
24
26 MongoDB, Inc
27
29 2017-present, MongoDB, Inc
30
31
32
33
341.20.0 Nov 18, 2021 BSON_READER_NEW_FROM_DATA(3)