readInt

Reads a single int from the InputStream.

Return

the int that was read

Since

0.1.0

Throws

if an I/O error occurs.

if the stream is closed

if the stream is not a valid int

if this method is not supported.