table of contents
BSON_OID_INIT_FROM_STRING(3) | Library Functions Manual | BSON_OID_INIT_FROM_STRING(3) |
NAME¶
bson_oid_init_from_string() - Parses the string containing hex encoded oid and initialize the bytes in oid.SYNOPSIS¶
void bson_oid_init_from_string (bson_oid_t *oid, const char *str);
PARAMETERS¶
- oid
- A bson_oid_t
- str
- A string containing a hex encoded version of the oid.
DESCRIPTION¶
Parses the string containing hex encoded oid and initialize the bytes in oidEXAMPLE¶
bson_oid_init_from_string (&oid, "012345678901234567890123");
COLOPHON¶
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.2016‐10‐12 | libbson |