int (final IterationState it, final ByteBufferState state) { final int recordSizeInInts = state.recordSizeInInts; final ByteBuffer buffer = state.buffer; int consumer = 1; final int offset = recordSizeInInts * it.nextRandom(); for (int recordField = 0; recordField < recordSizeInInts; recordField++) { consumer += buffer.getInt(offset + recordField); } return consumer; }