void
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 BSON_OID_INIT_FROM_STRING(3)
Description
Parses the string containing hex encoded oid and initialize the bytes in oid.
Example
bson_oid_init_from_string (&oid, "012345678901234567890123");
Parameters
• oid: A bson_oid_t.
• str: A string containing a hex encoded version of the oid.
Synopsis
void
bson_oid_init_from_string (bson_oid_t *oid, const char *str);
