code: public static int compareTo(byte[] buffer1, int offset1, int length1,
        byte[] buffer2, int offset2, int length2) {
      return LexicographicalComparerHolder.BEST_COMPARER.
          compareTo(buffer1, offset1, length1, buffer2, offset2, length2);
    }
docs: 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.