Man page - bson_iter_offset(3)

Packages contas this manual

Manual

BSON_ITER_OFFSET(3) libbson BSON_ITER_OFFSET(3)

uint32_t
bson_iter_offset (const bson_iter_t *iter);


iter: A bson_iter_t.

Fetches the offset for the current element observed by iter.

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.



MongoDB, Inc

2009-present, MongoDB, Inc.

December 18, 2025 1.30.4