comparison src/main/java/com/glavsoft/transport/Reader.java @ 336:2aa4fcbc5ba2

fix framebufferUpdate
author oc
date Fri, 06 Feb 2015 15:11:49 +0900
parents 26b7c0a6d91b
children 319447659dc6
comparison
equal deleted inserted replaced
335:49e25659ad05 336:2aa4fcbc5ba2
191 } catch (IOException e) { 191 } catch (IOException e) {
192 throw new TransportException("Cannot read", e); 192 throw new TransportException("Cannot read", e);
193 } 193 }
194 } 194 }
195 195
196 public int skypBytes(int n) throws TransportException { 196 public int skipBytes(int n) throws TransportException {
197 try { 197 try {
198 int r = is.skipBytes(n); 198 int r = is.skipBytes(n);
199 return r; 199 return r;
200 } catch (IOException e) { 200 } catch (IOException e) {
201 throw new TransportException("Cannot skipBytes", e); 201 throw new TransportException("Cannot skipBytes", e);