public void writeByte(byte b) throws IOException;
public void writeByte(int i) throws IOException;
public void writeIntBE(int v) throws IOException;
+ public void writeShortBE(int v) throws IOException;
public void recordCompactLen(int len) throws IOException;
public void recordCompressedData(byte[] data) throws IOException;
}
//
void handleCopyRect(int x, int y, int w, int h) throws IOException {
-
rfb.readCopyRect();
memGraphics.copyArea(rfb.copyRectSrcX, rfb.copyRectSrcY, w, h,
x - rfb.copyRectSrcX, y - rfb.copyRectSrcY);
rfb.rec.writeIntBE(v);
}
+ public void writeShortBE(int v) throws IOException {
+ rfb.rec.writeShortBE(v);
+ }
+
public void recordCompactLen(int len) throws IOException {
rfb.recordCompactLen(len);
}