code: public int readLittleInt() throws IOException {
          int ch1 = read();
          int ch2 = read();
          int ch3 = read();
          int ch4 = read();
          if ((ch1 | ch2 | ch3 | ch4) < 0) {
              throw new EOFException();
          }
          return (ch1 + (ch2 << 8) + (ch3 << 16) + (ch4 << 24));
      }
docs: reads a single integer value, in little endian order
  
  @return read integer value
  @throws IOException see {@link InputStream#read()}