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.
EOFException | if this stream reaches the end before reading all the bytes. | |
IOException | if an I/O error occurs. |
Diagram: InputStream