public static String toStringBinary(final byte[] b) {
        if (b == null) {
            return "null";
        }
        return toStringBinary(b, 0, b.length);
    }
Lexicographically compare two arrays.

@param buffer1 left operand
@param buffer2 right operand
@param offset1 Where to start comparing in the left buffer
@param offset2 Where to start comparing in the right buffer
@param length1 How much to compare from the left buffer
@param length2 How much to compare from the right buffer
@return 0 if equal, < 0 if left is less than right, etc.
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/common/utils/Bytes.java