readByte

Reads the next byte of data from the input stream.

Return

the next byte of data, or -1 if the end of the stream is reached.

Since

0.1.0

Throws

if an I/O error occurs.

if the stream is closed

if this method is not supported.