bson_oid_init_from_string(3)

bson_oid_init_from_string3

Usage

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.

Overview

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

Examples

bson_oid_init_from_string (&oid, "012345678901234567890123");

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

MongoDB, Inc

From libbson-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.