public static String byteBufferInfo(final ByteBuffer byteBuffer) {
        if (byteBuffer == null) {
            return "null";
        }

        final String value = byteBufferToHexAll(byteBuffer);
        return LogUtil.message("Cap: {}, pos: {}, lim: {}, rem: {}, val [{}], asStr [{}]",
                byteBuffer.capacity(),
                byteBuffer.position(),
                byteBuffer.limit(),
                byteBuffer.remaining(),
                value,
                StandardCharsets.UTF_8.decode(byteBuffer.duplicate()));
    }
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