int loadInt() throws IOException {
  is.readFully(buf,0,4);
  return luacLittleEndian ? (buf[3] << 24) | ((0xff & buf[2]) << 16) | ((0xff & buf[1]) << 8)| (0xff & buf[0]) : (buf[0] << 24) | ((0xff & buf[1]) << 16) | ((0xff & buf[2]) << 8)| (0xff & buf[3]);
}

int loadInt ( ) throws IOException { is . readFully ( buf , 0 , 4 ) ; return luacLittleEndian ? ( buf [ 3 ] << 24 ) | ( ( 0xff & buf [ 2 ] ) << 16 ) | ( ( 0xff & buf [ 1 ] ) << 8 ) | ( 0xff & buf [ 0 ] ) : ( buf [ 0 ] << 24 ) | ( ( 0xff & buf [ 1 ] ) << 16 ) | ( ( 0xff & buf [ 2 ] ) << 8 ) | ( 0xff & buf [ 3 ] ) ; }
load a 4 - byte int value from the input stream
