bson_iter_key_len(3)

bson_iter_key_len3

Usage

uint32_t
bson_iter_key_len (const bson_iter_t *iter);

Parameters

•

iter: A bson_iter_t.

Overview

Fetches the length of the key for the current element observed by iter. This is a constant time computation, and therefore faster than calling strlen() on a key returned by bson_iter_key().

Returns

An integer representing the key length.

SEE ALSO:

bson_iter_key() to retrieve current key.

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.