public static void padMax(final ByteBuffer byteBuffer, final int length) {
        for (int i = 0; i < length; i++) {
            byteBuffer.put(MAX_BYTE_UNSIGNED);
        }
    }
Add max unsigned byte padding to the supplied buffer.

@param byteBuffer The buffer to write to.
@param length     The number of bytes to write.
stroom-bytebuffer/src/main/java/stroom/bytebuffer/ByteBufferUtils.java