logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Author

       MongoDB, Inc

Description

       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().

Parameters

iter: A bson_iter_t.

Returns

       An integer representing the key length.

       SEEALSO:bson_iter_key() to retrieve current key.

Synopsis

          uint32_t
          bson_iter_key_len (const bson_iter_t *iter);

See Also