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

2017-present, MongoDB, Inc

March 31, 2024 1.26.0