Package jadx.plugins.input.dex.sections
Class SectionReader
java.lang.Object
jadx.plugins.input.dex.sections.SectionReader
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionSectionReader(DexReader dexReader, int off) privateSectionReader(SectionReader sectionReader, int off) -
Method Summary
Modifier and TypeMethodDescriptionabsPos(int pos) copy()copy(int off) private static ByteBufferduplicate(ByteBuffer baseBuffer, int off) intfillFieldData(DexFieldData fieldData, int idx) intbyte[]getByteCode(int start, int len) getCallSite(int idx, SectionReader ext) getFieldRef(int idx) getMethodHandle(int idx) private MethodHandleTypegetMethodHandleType(int type) getMethodParamTypes(int idx) getMethodProto(int idx) getMethodRef(int idx) int@Nullable StringgetString(int idx) @Nullable StringgetType(int idx) voidinitMethodRef(int idx, DexMethodRef methodRef) voidloadMethodRef(DexMethodRef methodRef, int idx) pos(int pos) bytereadByte()byte[]readByteArray(int len) intreadInt()longreadLong()intintreadString(int len) readTypeListAt(int paramsOff) intintintintint[]readUShortArray(int size) voidsetOffset(int offset) voidshiftOffset(int shift) intsize()voidskip(int skip) toString()
-
Field Details
-
buf
-
dexReader
-
offset
private int offset
-
-
Constructor Details
-
SectionReader
-
SectionReader
-
-
Method Details
-
copy
-
copy
-
getByteCode
public byte[] getByteCode(int start, int len) -
duplicate
-
setOffset
public void setOffset(int offset) -
getOffset
public int getOffset() -
shiftOffset
public void shiftOffset(int shift) -
pos
-
absPos
-
getAbsPos
public int getAbsPos() -
skip
public void skip(int skip) -
readInt
public int readInt() -
readLong
public long readLong() -
readByte
public byte readByte() -
readUByte
public int readUByte() -
readUShort
public int readUShort() -
readShort
public int readShort() -
readByteArray
public byte[] readByteArray(int len) -
readUShortArray
public int[] readUShortArray(int size) -
readString
-
readTypeListAt
-
readTypeList
-
getType
-
getString
-
getFieldRef
-
fillFieldData
-
getMethodRef
-
getCallSite
-
getMethodHandle
-
getMethodHandleType
-
initMethodRef
-
loadMethodRef
-
getMethodProto
-
getMethodParamTypes
-
getDexReader
-
readUleb128
public int readUleb128() -
readUleb128p1
public int readUleb128p1() -
readSleb128
public int readSleb128() -
size
public int size() -
toString
-