home | help
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 Objec-
     tID.

RETURNS
     true if str could be parsed.

AUTHOR
     MongoDB, Inc

COPYRIGHT
     2009-present, MongoDB, Inc.

1.30.8				  Aug 27, 2026		    BSON_OID_IS_VALID(3)

home | help