SYNOPSIS
#include <bson.h> void bson_oid_to_string (const bson_oid_t *oid, char str[25]);
DESCRIPTION
The bson_oid_to_string() function shall encode a bson_oid_t as a hex-encoded string.
EXAMPLE
#include <bson.h> static void print_oid (const bson_oid_t *oid) { char oidstr[25]; bson_oid_to_string (oid, oidstr); printf ("%s\n", oidstr); }
ERRORS
No errors are defined.
AUTHORS
This page was written by MongoDB, Inc.