juanchovargas21 / android-gl

Automatically exported from code.google.com/p/android-gl
0 stars 0 forks source link

LittleEndianInputStream / readInt() #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

The method readInt :

        public int readInt() 
        throws IOException
        {
                int b1 = is.read();
                int b2 = is.read();
                int b3 = is.read();
                int b4 = is.read();

                return (b4 << 24) 
                + ((b3 << 24) >>> 8) 
                + ((b2 << 24) >>> 16) 
                + ((b1 << 24) >>> 24);
        }

can be replace by :

    public int readInt() throws IOException {
    return this.readInt();
    }

Original issue reported on code.google.com by yyv...@gmail.com on 25 May 2009 at 8:38

GoogleCodeExporter commented 8 years ago
Sorry it is a "wrong" bug.
You can close it.

Original comment by yyv...@gmail.com on 25 May 2009 at 9:07