bson_iter_offset man page

bson_iter_offset ā€” bson_iter_offset()

Synopsis

uint32_t
bson_iter_offset (const bson_iter_t *iter);

Parameters

Description

Fetches the offset for the current element observed by iter.

See Also

bson_iter_init_from_data_at_offset() to use this offset to reconstruct a bson_iter_t in constant time.

Returns

An unsigned integer representing the offset in the BSON data of the current element.

Author

MongoDB, Inc

Info

Nov 06, 2019 1.15.2 Libbson