code: @Benchmark
  	@BenchmarkMode(Mode.AverageTime)
  	public void byteBufferRandomAccessFile(final Configuration configuration) throws IOException {
  		ByteBuffer buffer = ByteBuffer.allocate(BUFFER_CAPACITY);
  
  		try (RandomAccessFile file = new RandomAccessFile(configuration.file, "rw")) {
  			for (long i = 0; i < LINES; ++i) {
  				if (buffer.remaining() < DATA.length) {
  					file.write(buffer.array(), 0, buffer.position());
  					buffer.rewind();
  				}
  
  				if (buffer.remaining() < DATA.length) {
  					file.write(DATA);
  				} else {
  					buffer.put(DATA);
  				}
  			}
  
  			if (buffer.position() > 0) {
  				file.write(buffer.array(), 0, buffer.position());
  			}
  		}
  	}
docs: Benchmarks writing via {@link RandomAccessFile} with using a {@link ByteBuffer} for buffering.
  
  @param configuration
  Configuration with target file
  @throws IOException
  Failed to write to target file