table of contents
other versions
- bookworm 1.23.1-1+deb12u1
- testing 1.30.4-1
- unstable 1.30.4-1
- experimental 2.0.2-1
BSON_OID_IS_VALID(3) | libbson | BSON_OID_IS_VALID(3) |
SYNOPSIS¶
bool bson_oid_is_valid (const char *str, size_t length);
PARAMETERS¶
- str: A string.
- length: The length of str.
DESCRIPTION¶
Checks if a string containing a hex encoded string is a valid BSON ObjectID.
RETURNS¶
true if str could be parsed.
AUTHOR¶
MongoDB, Inc
COPYRIGHT¶
2009-present, MongoDB, Inc.
June 17, 2025 | 2.0.2 |