bson_oid_init_from_string man page

bson_oid_init_from_string ā€” bson_oid_init_from_string()

Synopsis

void
bson_oid_init_from_string (bson_oid_t *oid, const char *str);

Parameters

Description

Parses the string containing hex encoded oid and initialize the bytes in oid.

Example

bson_oid_init_from_string (&oid, "012345678901234567890123");

Author

MongoDB, Inc

Info

Sep 15, 2017 1.8.0 Libbson