Mercurial > hg > Members > nobuyasu > tightVNCProxy
comparison src/myVncProxy/MyRfbProto.java @ 163:1a4bf9888429
JUnit work around
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 06 Aug 2011 10:42:37 +0900 |
parents | 02016fcb9105 |
children | 107b965effc1 |
comparison
equal
deleted
inserted
replaced
114:02016fcb9105 | 163:1a4bf9888429 |
---|---|
801 | 801 |
802 Deflater deflater = new Deflater(); | 802 Deflater deflater = new Deflater(); |
803 zip(deflater,in,0,out); | 803 zip(deflater,in,0,out); |
804 // LinkedList<ByteBuffer> out3 = clone(out); zipped result is depend on deflator's state | 804 // LinkedList<ByteBuffer> out3 = clone(out); zipped result is depend on deflator's state |
805 unzip(inflater, out, 0,out2, INFLATE_BUFSIZE); | 805 unzip(inflater, out, 0,out2, INFLATE_BUFSIZE); |
806 // inflater.reset(); | 806 inflater.reset(); |
807 equalByteBuffers(in1, out2); | 807 equalByteBuffers(in1, out2); |
808 LinkedList<ByteBuffer> out4 = new LinkedList<ByteBuffer>(); | 808 LinkedList<ByteBuffer> out4 = new LinkedList<ByteBuffer>(); |
809 deflater = new Deflater(); | 809 deflater = new Deflater(); |
810 zip(deflater,out2,0,out4); | 810 zip(deflater,out2,0,out4); |
811 LinkedList<ByteBuffer> out5 = new LinkedList<ByteBuffer>(); | 811 LinkedList<ByteBuffer> out5 = new LinkedList<ByteBuffer>(); |