public int readInt() {byte[] buf = new byte[LittleEndianConsts.INT_SIZE];try {checkEOF(read(buf), buf.length);} catch (IOException e) {throw new RuntimeException(e);}return LittleEndian.getInt(buf);}
public int ReadInt(){int ch1;int ch2;int ch3;int ch4;try{ch1 = in1.ReadByte();ch2 = in1.ReadByte();ch3 = in1.ReadByte();ch4 = in1.ReadByte();}catch (IOException e){throw new RuntimeException(e);}CheckEOF(ch1 | ch2 | ch3 | ch4);return (ch4 << 24) + (ch3 << 16) + (ch2 << 8) + (ch1 << 0);}