public static void writeCharArray(final char[] values, final DataOutput out)
		throws IOException
	{
		writeInt(values.length, out);
		for (int value : values) {
			writeInt(value, out);
		}
	}
Write the given {@code char[]} array to the given data output.

@param values the values to write
@param out the data sink
@throws IOException if an I/O error occurs
jenetics/src/main/java/io/jenetics/internal/util/SerialIO.java