protected int readInt(InputStream is) throws IOException
   {
      byte[] data = new byte[4];
      if (is.read(data) != data.length)
      {
         throw new EOFException();
      }

      return (MPPUtility.getInt(data, 0));
   }
protected int readInt ( InputStream is ) throws IOException { byte [ ] data = new byte [ 4 ] ; if ( is . read ( data ) != data . length ) { throw new EOFException ( ) ; } return ( MPPUtility . getInt ( data , 0 ) ) ; }
This method reads a four byte integer from the input stream.

@param is the input stream
@return byte value
@throws IOException on file read error or EOF