Examples of BaseDexBuffer


Examples of org.jf.dexlib2.dexbacked.BaseDexBuffer

        // verifies the magic value
        return getVersion(buf) != 0;
    }

    public static int getDexOffset(byte[] buf) {
        BaseDexBuffer bdb = new BaseDexBuffer(buf);
        return bdb.readSmallUint(DEX_OFFSET);
    }
View Full Code Here

Examples of org.jf.dexlib2.dexbacked.BaseDexBuffer

        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);
    }
View Full Code Here

Examples of org.jf.dexlib2.dexbacked.BaseDexBuffer

        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);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.