1BSON_ITER_FIND_W_LEN(3) libbson BSON_ITER_FIND_W_LEN(3)
2
3
4
6 bool
7 bson_iter_find_w_len (bson_iter_t *iter, const char *key, int keylen);
8
10 • iter: A bson_iter_t.
11
12 • key: A string containing the requested key.
13
14 • keylen: An integer indicating the length of the key string.
15
17 The bson_iter_find_w_len() function shall advance iter to the first el‐
18 ement named key or exhaust all elements of iter. If iter is exhausted,
19 false is returned and iter should be considered invalid.
20
21 key is case-sensitive. For a case-folded version, see
22 bson_iter_find_case().
23
25 true is returned if the requested key was found. If not, iter was ex‐
26 hausted and should now be considered invalid.
27
29 MongoDB, Inc
30
32 2017-present, MongoDB, Inc
33
34
35
36
371.25.1 Nov 08, 2023 BSON_ITER_FIND_W_LEN(3)