code: public final int step(byte[]bytes, int p, int end, int n) {
          int q = p;
          while (n-- > 0) {
              q += length(bytes, q, end);
          }
          return q <= end ? q : -1;
      }
docs: /* onigenc_step