Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

Author

       MongoDB, Inc

Description

       Checks if a string containing a hex encoded string is a valid BSON ObjectID.

Parameters

       • str: A string.

       • length: The length of str.

Returns

       true if str could be parsed.

Synopsis

          bool
          bson_oid_is_valid (const char *str, size_t length);

See Also