code: public int compareTo(byte[] other, int off, int len) {
          return WritableComparator.compareBytes(getBytes(), 0, getLength(), other, off, len);
      }
docs: Compare bytes from {#getBytes()} to those provided.