bson_oid_hash man page

bson_oid_hash — bson_oid_hash()

Synopsis

uint32_t
bson_oid_hash (const bson_oid_t *oid);

Parameters

·

oid: A bson_oid_t.

Description

Generates a hash code for oid suitable for a hashtable.

Returns

A 32-bit hash code.

Author

MongoDB, Inc

Info

Feb 09, 2017 1.6.0 Libbson