bson_iter_offset - Man Page
bson_iter_offset()
Synopsis
uint32_t bson_iter_offset (const bson_iter_t *iter);
Parameters
- iter: A bson_iter_t.
Description
Fetches the offset for the current element observed by iter.
Returns
An unsigned integer representing the offset in the BSON data of the current element.
SEE ALSO:
bson_iter_init_from_data_at_offset() to use this offset to reconstruct a bson_iter_t in constant time.
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
May 09, 2023 1.23.4 libbson