Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Author

       MongoDB, Inc

Description

       Fetches the offset for the current element observed by iter.

Parameters

       • iter: A bson_iter_t.

Returns

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

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

Synopsis

          uint32_t
          bson_iter_offset (const bson_iter_t *iter);

See Also