本文整理汇总了Java中org.jf.dexlib2.dexbacked.BaseDexBuffer类的典型用法代码示例。如果您正苦于以下问题:Java BaseDexBuffer类的具体用法?Java BaseDexBuffer怎么用?Java BaseDexBuffer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BaseDexBuffer类属于org.jf.dexlib2.dexbacked包,在下文中一共展示了BaseDexBuffer类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getEndian
import org.jf.dexlib2.dexbacked.BaseDexBuffer; //导入依赖的package包/类
public static int getEndian(byte[] buf, int offset) {
BaseDexBuffer bdb = new BaseDexBuffer(buf);
return bdb.readInt(offset + ENDIAN_TAG_OFFSET);
}
示例2: RawDexFile
import org.jf.dexlib2.dexbacked.BaseDexBuffer; //导入依赖的package包/类
public RawDexFile(@Nonnull Opcodes opcodes, @Nonnull BaseDexBuffer buf) {
super(opcodes, buf);
this.headerItem = new HeaderItem(this);
}
示例3: getDexOffset
import org.jf.dexlib2.dexbacked.BaseDexBuffer; //导入依赖的package包/类
public static int getDexOffset(byte[] buf) {
BaseDexBuffer bdb = new BaseDexBuffer(buf);
return bdb.readSmallUint(DEX_OFFSET);
}
示例4: getDependenciesOffset
import org.jf.dexlib2.dexbacked.BaseDexBuffer; //导入依赖的package包/类
public static int getDependenciesOffset(byte[] buf) {
BaseDexBuffer bdb = new BaseDexBuffer(buf);
return bdb.readSmallUint(DEPENDENCIES_OFFSET);
}
示例5: RawDexFile
import org.jf.dexlib2.dexbacked.BaseDexBuffer; //导入依赖的package包/类
public RawDexFile( Opcodes opcodes, BaseDexBuffer buf) {
super(opcodes, buf);
this.headerItem = new HeaderItem(this);
}