public static double[] readDoubleArray(final DataInput in) throws IOException {
		final double[] values = new double[readInt(in)];
		for (int i = 0; i < values.length; ++i) {
			values[i] = in.readDouble();
		}
		return values;
	}
Read a {@code double[]} array from the data input.

@param in the data source
@return the read values
@throws IOException if an I/O error occurs
jenetics/src/main/java/io/jenetics/internal/util/SerialIO.java