public static void extendLimit(ByteBuffer buffer, int numBytes) {
        buffer.limit(buffer.limit() + numBytes);
    }
Increment position in buffer.

@param buffer In this buffer.
@param length By that many bytes.
stroom-bytebuffer/src/main/java/stroom/bytebuffer/hbase/ByteBufferUtils.java