7778798081828384
// verifies the magic value return getVersion(buf) != 0; } public static int getDexOffset(byte[] buf) { BaseDexBuffer bdb = new BaseDexBuffer(buf); return bdb.readSmallUint(DEX_OFFSET); }
8283848586878889
BaseDexBuffer bdb = new BaseDexBuffer(buf); return bdb.readSmallUint(DEX_OFFSET); } public static int getDependenciesOffset(byte[] buf) { BaseDexBuffer bdb = new BaseDexBuffer(buf); return bdb.readSmallUint(DEPENDENCIES_OFFSET); }
252253254255256257258259
return getVersion(buf, offset) != 0; } public static int getEndian(byte[] buf, int offset) { BaseDexBuffer bdb = new BaseDexBuffer(buf); return bdb.readInt(offset + ENDIAN_TAG_OFFSET); }