public static <A> void write(
			final OutputStream out,
			final io.jenetics.PermutationChromosome<A> data,
			final String indent,
			final Writer<? super A> alleleWriter
		)
			throws XMLStreamException
		{
			requireNonNull(data);
			requireNonNull(alleleWriter);
			requireNonNull(out);

			try (var xml = XML.writer(out, indent)) {
				PermutationChromosome.<A>writer(alleleWriter)
					.write(xml, data);
			}
		}
Write the given {@link io.jenetics.PermutationChromosome} to the
given output stream.

@param <A> the allele type
@param out the target output stream
@param data the chromosome to write
@param indent the XML level indentation
@param alleleWriter the allele writer of the permutation chromosome
@throws XMLStreamException if an error occurs while writing the
        chromosome
@throws NullPointerException if the {@code chromosome} or output
        stream is {@code null}
jenetics.xml/src/main/java/io/jenetics/xml/Writers.java