DOKK / manpages / debian 13 / libbson-doc / bson_oid_to_string.3.en
BSON_OID_TO_STRING(3) libbson BSON_OID_TO_STRING(3)

void
bson_oid_to_string (const bson_oid_t *oid, char str[25]);


  • oid: A bson_oid_t.
  • str: A location for the resulting string.

Converts oid into a hex encoded string.

MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4