IDataStream.readDoubles

Overview | Methods | This Package | All Packages

IDataStream.readDoubles

Reads the specified number of double values from this stream into a double array.

Syntax

public double[] readDoubles( int count )

public void readDoubles( double[] buffer, int index, int count )

Parameters

count

The number of double values to read.

buffer

The array to read data into.

index

The starting index in the array.

Return Value

Returns a double array containing the data that was read.

Exceptions

IOException thrown if an I/O error occurs or if the stream does not support reading.

EOFException thrown if the end of the stream is reached while reading the data.

Remarks

The current position is advanced by count * 8 bytes.

See Also   writeDoubles