1BSON_ITER_OFFSET(3)                 libbson                BSON_ITER_OFFSET(3)
2
3
4

SYNOPSIS

6          uint32_t
7          bson_iter_offset (const bson_iter_t *iter);
8

PARAMETERS

10iter: A bson_iter_t.
11

DESCRIPTION

13       Fetches the offset for the current element observed by iter.
14

RETURNS

16       An  unsigned  integer  representing  the offset in the BSON data of the
17       current element.
18
19       SEE ALSO:
20          bson_iter_init_from_data_at_offset() to use this offset to reconstruct a bson_iter_t in constant time.
21
22

AUTHOR

24       MongoDB, Inc
25
27       2017-present, MongoDB, Inc
28
29
30
31
321.25.1                           Nov 08, 2023              BSON_ITER_OFFSET(3)
Impressum