code: public int compareTo(Object o) {
      UTF8 that = (UTF8)o;
      return WritableComparator.compareBytes(bytes, 0, length,
                                             that.bytes, 0, that.length);
    }
docs: Compare two UTF8s.