public final byte readByte() throws java.io.IOException {
  int temp=in.read();
  if (temp < 0) {
    throw new EOFException();
  }
  return (byte)temp;
}

public final byte readByte ( ) throws java . io . IOException { int temp = in . read ( ) ; if ( temp < 0 ) { throw new EOFException ( ) ; } return ( byte ) temp ; }
see the general contract of the readbyte method of datainput . bytes for this operation are read from the contained input stream .
