docs: protected final MemorySegment nextSegment(MemorySegment current, int posInSegment) throws IOException
  	{
  		if (current != null) {
  			writeSegment(current, posInSegment, false);
  		}
  		
  		final MemorySegment next = this.writer.getNextReturnedBlock();
  		this.blockCount++;
  		return next;
  	}