1BSON_OID_INIT_FROM_STRING(3) libbson BSON_OID_INIT_FROM_STRING(3)
2
3
4
6 bson_oid_init_from_string - bson_oid_init_from_string()
7
9 void
10 bson_oid_init_from_string (bson_oid_t *oid, const char *str);
11
13 · oid: A bson_oid_t.
14
15 · str: A string containing a hex encoded version of the oid.
16
18 Parses the string containing hex encoded oid and initialize the bytes
19 in oid.
20
22 bson_oid_init_from_string (&oid, "012345678901234567890123");
23
25 MongoDB, Inc
26
28 2017-present, MongoDB, Inc
29
30
31
32
331.16.2 Feb 25, 2020 BSON_OID_INIT_FROM_STRING(3)