public static void write(
			final OutputStream out,
			final io.jenetics.BitChromosome data
		)
			throws XMLStreamException
		{
			requireNonNull(data);
			requireNonNull(out);

			try (var xml = XML.writer(out)) {
				writer().write(xml, data);
			}
		}
Write the given {@link io.jenetics.BitChromosome} to the given
output stream.

@param out the target output stream
@param data the bit-chromosome to write
@throws XMLStreamException if an error occurs while writing the
        chromosome
@throws NullPointerException if one of the given arguments is
        {@code null}
jenetics.xml/src/main/java/io/jenetics/xml/Writers.java