Example #1
0
 public byte readAhead() {
   if (this.cursorPos >= this.prog.getBytecode().length - 1) {
     return -1;
   }
   return prog.getBytecode()[this.cursorPos];
 }
Example #2
0
 public byte readNextByte() {
   return prog.getBytecode()[this.cursorPos++];
 }