public static int readInt(DataInput in) throws IOException {
        byte len=in.readByte();
        if(len == 0)
            return 0;
        return makeInt(in, len);
    }
public static int readInt ( DataInput in ) throws IOException { byte len = in . readByte ( ) ; if ( len == 0 ) return 0 ; return makeInt ( in , len ) ; }
Reads an int from an input stream
@param in the input stream
@return the int read from the input stream