IDataStream.readInt

Overview | Methods | This Package | All Packages

IDataStream.readInt

Reads an integer from this stream.

Syntax

public int readInt()

Return Value

Returns the integer 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 four bytes could be read.

Remarks

The current position is advanced by four bytes.

See Also   writeInt