readByte

Reads a single byte from the stream.

Throws a SUPStreamNotOpenException if the stream is not open for reading.

Syntax

- (SUPInt)readByte;

Returns

readByte returns a byte of data read from the stream, or -1 if the end of the stream has been reached.