Compare an oid to an hex formatted object id.
@param id oid structure. @param str input hex string of an object id. @return -1 if str is not valid, <0 if id sorts before str, 0 if id matches str, >0 if id sorts after str.
See Implementation
Compare an oid to an hex formatted object id.
@param id oid structure. @param str input hex string of an object id. @return -1 if str is not valid, <0 if id sorts before str, 0 if id matches str, >0 if id sorts after str.