RandomAccessFile.readUnsignedByte

RandomAccessFile.readUnsignedByte

Class Overview | Class Members | This Package | All Packages

Syntax
public final int readUnsignedByte() throws IOException
Returns
the next byte of this file, interpreted as an unsigned 8-bit number.
Description
Reads an unsigned 8-bit number from this file. This method reads a byte from this file 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 file has reached the end.
Exceptions
IOException if an I/O error occurs.