table of contents
other versions
- bookworm 1.23.1-1
- testing 1.26.0-1
- unstable 1.26.1-1
- experimental 1.26.0-1.1~exp1
BSON_ITER_OFFSET(3) | libbson | BSON_ITER_OFFSET(3) |
NAME¶
bson_iter_offset - 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
August 31, 2022 | 1.23.0 |