public void forEach(Visitor visitor) {
    int sz = bytes.size();
    int at = 0;

    while (at < sz) {
      /*
       * Don't record the previous offset here, so that we get to see the
       * raw code that initializes the array
       */
      at += parseInstruction(at, visitor);
    }
  }
Parses each instruction in the array, in order.

@param visitor {@code null-ok;} visitor to call back to for each instruction
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/BytecodeArray.java