1BSON_ITER_FIND_W_LEN(3) libbson BSON_ITER_FIND_W_LEN(3)
2
3
4
6 bson_iter_find_w_len - bson_iter_find_w_len()
7
9 bool
10 bson_iter_find_w_len (bson_iter_t *iter, const char *key, int keylen);
11
13 · iter: A bson_iter_t.
14
15 · key: A string containing the requested key.
16
17 · keylen: An integer indicating the length of the key string.
18
20 The bson_iter_find_w_len() function shall advance iter to the element
21 named key or exhaust all elements of iter. If iter is exhausted, false
22 is returned and iter should be considered invalid.
23
24 key is case-sensitive. For a case-folded version, see
25 bson_iter_find_case().
26
28 true is returned if the requested key was found. If not, iter was
29 exhausted and should now be considered invalid.
30
32 MongoDB, Inc
33
35 2017-present, MongoDB, Inc
36
37
38
39
401.16.2 Feb 25, 2020 BSON_ITER_FIND_W_LEN(3)