DataInputStream.readUnsignedByte
Class Overview | Class Members |
This Package |
All Packages
public final int readUnsignedByte() throws IOException
Returns
the next byte of this input stream, interpreted as an
unsigned 8-bit number.
Description
Reads an unsigned 8-bit number from this data input stream. This
method reads a byte from this data input stream's underlying input
stream and returns that byte. This method blocks until the byte is
read, the end of the stream is detected, or an exception is thrown.
Exceptions
EOFException
if this input stream has reached the end.
Exceptions
IOException
if an I/O error occurs.
See Also
in