Exemple #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);
 }
Exemple #2
0
 public int int8() {
   rensure(1);
   return (rbuf[rh++]);
 }
Exemple #3
0
 private int rget(int len) {
   rensure(len);
   int co = rh;
   rh += len;
   return (co);
 }