Microsoft SDK for Java

IDataStream.readLong

Reads a long value from this stream.

Syntax

public long readLong()

Return Value

Returns the long value 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 before eight bytes could be read.

Remarks

The current position is advanced by eight bytes.

See Also   writeLong

© 1999 Microsoft Corporation. All rights reserved. Terms of use.