Mercurial > hg > Applications > TightVNC_orginal
comparison src/main/java/com/glavsoft/transport/Reader.java @ 9:1a30763734cf
temp commit
author | Taninari YU <you@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 14 Aug 2012 17:14:48 +0900 |
parents | e7ce2b2ffed8 |
children | 5d43194fdc51 |
comparison
equal
deleted
inserted
replaced
8:a096a009bbda | 9:1a30763734cf |
---|---|
126 throw new ClosedConnectionException(e); | 126 throw new ClosedConnectionException(e); |
127 } catch (IOException e) { | 127 } catch (IOException e) { |
128 throw new TransportException("Cannot read " + length + " bytes array", e); | 128 throw new TransportException("Cannot read " + length + " bytes array", e); |
129 } | 129 } |
130 } | 130 } |
131 | 131 public byte[] readBytes(byte[]b) throws TransportException { |
132 byte[] result = readBytes(b,0,b.length); | |
133 return result; | |
134 } | |
132 } | 135 } |