DOKK / manpages / debian 12 / libbson-doc / bson_iter_symbol.3.en
BSON_ITER_SYMBOL(3) libbson BSON_ITER_SYMBOL(3)

bson_iter_symbol - bson_iter_symbol()

const char *
bson_iter_symbol (const bson_iter_t *iter, uint32_t *length);


  • iter: A bson_iter_t.
  • length: A uint32_t.

The symbol element type is DEPRECATED in the bson specification at http://bsonspec.org.

The bson_iter_symbol() function shall return the contents of a BSON_TYPE_SYMBOL element.

If non-NULL, length will be set to the length of the resulting string.

The symbol and length is set.

MongoDB, Inc

2017-present, MongoDB, Inc

October 20, 2022 1.23.1