(buf[i * 4 + 1] & 0xFF) << 16 | (buf[i * 4 + 2] & 0xFF) << 8 | (buf[i * 4 + 3] & 0xFF);
(buf[i * 4 + 2] & 0xFF) << 16 | (buf[i * 4 + 1] & 0xFF) << 8 | (buf[i * 4] & 0xFF);
  void handleRawRect(int x, int y, int w, int h) throws IOException {    byte[] buf = new byte[w * 4];    int i, offset;    for (int dy = y; dy < y + h; dy++) {      rfb.is.readFully(buf);      offset = dy * rfb.framebufferWidth + x;      for (i = 0; i < w; i++) {	pixels24[offset + i] =	  (buf[i * 4 + 1] & 0xFF) << 16 |	  (buf[i * 4 + 2] & 0xFF) << 8 |	  (buf[i * 4 + 3] & 0xFF);      }    }    handleUpdatedPixels(x, y, w, h);    scheduleRepaint(x, y, w, h);  }