bson_oid_init_from_data (3) - Linux Manuals

bson_oid_init_from_data: Initializes a bson_oid_t using the raw buffer provided.

NAME

bson_oid_init_from_data() - Initializes a bson_oid_t using the raw buffer provided.

SYNOPSIS

void
bson_oid_init_from_data (bson_oid_t    *oid,
                         const uint8_t *data);

PARAMETERS

oid
A bson_oid_t \&.

data
A buffer containing 12 bytes for the oid.

DESCRIPTION

Initializes a bson_oid_t using the raw buffer provided.

COLOPHON

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