DataInput.readByte

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

@return the 8-bit value read. @exception EOFException if this stream reaches the end before reading all the bytes. @exception IOException if an I/O error occurs.

interface DataInput
byte
readByte
()

Meta