public static int compareTo(ByteBuffer buf1, int o1, int l1, ByteBuffer buf2, int o2, int l2) {
        return stroom.bytebuffer.hbase.ByteBufferUtils.compareTo(buf1, o1, l1, buf2, o2, l2);
    }
Increments the numeric value with length len at index. Does not modify the position
of the buffer.
<p>
NOTE this appears to be no quicker than doing putInt(getint(...) + 1) type thing.
</p>
stroom-bytebuffer/src/main/java/stroom/bytebuffer/ByteBufferUtils.java