bson_oid_to_string(3) Converts oid into a hex encoded string.

SYNOPSIS


void
bson_oid_to_string (const bson_oid_t *oid,
char str[25]);

PARAMETERS

oid
A bson_oid_t \&.

str
A location for the resulting string.

DESCRIPTION

Converts oid into a hex encoded string.

COLOPHON

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.