public byte[] readByteArray(int length) {
      byte[] result = new byte[length];
      data.get(result);
      return result;
    }
Look up a descriptor index from a type index. Cheaper than: {@code
open(tableOfContents.typeIds.off + (index * SizeOf.TYPE_ID_ITEM)).readInt();}
android/android_framework/dex-maker/src/main/java/com/android/dex/Dex.java