1BSON_ITER_DUP_UTF8(3) libbson BSON_ITER_DUP_UTF8(3)
2
3
4
6 bson_iter_dup_utf8 - bson_iter_dup_utf8()
7
9 char *
10 bson_iter_dup_utf8 (const bson_iter_t *iter, uint32_t *length);
11
13 • iter: A bson_iter_t.
14
15 • length: An optional location for the length of the UTF-8 encoded
16 string.
17
19 This function is similar to bson_iter_utf8() except that it calls
20 bson_strndup() on the result.
21
23 A newly allocated string that should be freed with bson_free().
24
26 MongoDB, Inc
27
29 2017-present, MongoDB, Inc
30
31
32
33
341.17.6 Jun 03, 2021 BSON_ITER_DUP_UTF8(3)