1BSON_OID_IS_VALID(3) libbson BSON_OID_IS_VALID(3)
23
4
NAME
6bson_oid_is_valid - bson_oid_is_valid()
7
SYNOPSIS
9bool
10bson_oid_is_valid (const char *str, size_t length);
11
PARAMETERS
13· str: A string.
1415
· length: The length of str.
16
DESCRIPTION
18Checks if a string containing a hex encoded string is a valid BSON
19ObjectID.
20
RETURNS
22true if str could be parsed.
23
AUTHOR
25MongoDB, Inc
26
COPYRIGHT
282017-present, MongoDB, Inc
2930
31
32
33
1.17.4 Feb 04, 2021 BSON_OID_IS_VALID(3)