table of contents
| BSON_OID_INIT_FROM_DATA(3) | libbson | BSON_OID_INIT_FROM_DATA(3) |
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.
Author¶
MongoDB, Inc
Copyright¶
2009-present, MongoDB, Inc.
| December 11, 2025 | 2.2.1 |