public abstract byte readByte () throws IOException

Reads and returns one input byte. The byte is treated as a signed value in the range -128 through 127, inclusive. This method is suitable for reading the byte written by the writeByte method of interface DataOutput.

Returns:  the 8-bit value read.

Exceptions:
EOFException    if this stream reaches the end before reading all the bytes.
IOException    if an I/O error occurs.