예제 #1
0
 public byte[] bytes(int n) {
   byte[] ret = new byte[n];
   rensure(n);
   System.arraycopy(rbuf, rh, ret, 0, n);
   rh += n;
   return (ret);
 }
예제 #2
0
 public int int8() {
   rensure(1);
   return (rbuf[rh++]);
 }
예제 #3
0
 private int rget(int len) {
   rensure(len);
   int co = rh;
   rh += len;
   return (co);
 }