Reads one input byte, zero-extends
it to type int, and returns
the result, which is therefore in the range
0
through 255.
This method is suitable for reading
the byte written by the writeByte
method of interface DataOutput
if the argument to writeByte
was intended to be a value in the range
0 through 255.
EOFException | if this stream reaches the end before reading all the bytes. | |
IOException | if an I/O error occurs. |
Diagram: InputStream