bson_iter_offset(3)

bson_iter_offset3

Usage

uint32_t
bson_iter_offset (const bson_iter_t *iter);

Parameters

•

iter: A bson_iter_t.

Overview

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.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.