void (final IterationState it, final ByteBufferState state) { final int recordSizeInInts = state.recordSizeInInts; final ByteBuffer buffer = state.buffer; final int offset = recordSizeInInts * it.nextSequential(); for (int recordField = 0; recordField < recordSizeInInts; recordField++) { buffer.putInt(offset + recordField, recordField); } }