public int[] getInstructionOffsets() {
    int sz = bytes.size();
    int[] result = Bits.makeBitSet(sz);
    int at = 0;

    while (at < sz) {
      Bits.set(result, at, true);
      int length = parseInstruction(at, null);
      at += length;
    }

    return result;
  }
Finds the offset to each instruction in the bytecode array. The result is a bit set with the
offset of each opcode-per-se flipped on.

@return {@code non-null;} appropriately constructed bit set
@see Bits
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/BytecodeArray.java