IDataStream.writeLongs

Overview | Methods | This Package | All Packages

IDataStream.writeLongs

Writes the contents of the specified long integer array to this stream.

Syntax

public void writeLongs( long[] buffer )

public void writeLongs( long[] buffer, int index, int count )

Parameters

buffer

The long integer array containing the data to write.

index

The starting index in the array.

count

The number of long integers to write.

Exceptions

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

Remarks

The number of bytes written to the stream is buffer.length * 8. The current position is advanced by count * 8 bytes.

See Also   readLongs