Mercurial > hg > Members > riono > TreeVNC_ja_comment
comparison src/main/java/com/glavsoft/rfb/encoding/decoder/FramebufferUpdateRectangle.java @ 237:0815ed7f54a7
clean code.
author | oc |
---|---|
date | Sat, 11 Oct 2014 14:13:29 +0900 |
parents | 8479ad028ec7 |
children | 47c018aed50e |
comparison
equal
deleted
inserted
replaced
236:49762c621bd6 | 237:0815ed7f54a7 |
---|---|
62 x = reader.readUInt16(); | 62 x = reader.readUInt16(); |
63 y = reader.readUInt16(); | 63 y = reader.readUInt16(); |
64 width = reader.readUInt16(); | 64 width = reader.readUInt16(); |
65 height = reader.readUInt16(); | 65 height = reader.readUInt16(); |
66 int encoding = reader.readInt32(); | 66 int encoding = reader.readInt32(); |
67 encodingType = EncodingType.byId(encoding); | |
67 | 68 |
68 encodingType = EncodingType.byId(encoding); | 69 if (encoding == EncodingType.CHECK_DELAY.getId()) { |
69 if (encoding == 17) { | |
70 time = reader.readInt64(); | 70 time = reader.readInt64(); |
71 } | 71 } |
72 } | 72 } |
73 | 73 |
74 public EncodingType getEncodingType() { | 74 public EncodingType getEncodingType() { |