Package org.jf.dexlib2.dexbacked
Class DexBuffer
java.lang.Object
org.jf.dexlib2.dexbacked.DexBuffer
- Direct Known Subclasses:
OatFile
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int(package private) final byte[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbyte[]getBuf()intreadByte(int offset) byte[]readByteRange(int start, int length) readerAt(int offset) intreadInt(int offset) longreadLong(int offset) intreadLongAsSmallUint(int offset) intreadOptionalUint(int offset) intreadShort(int offset) intreadSmallUint(int offset) intreadUbyte(int offset) intreadUshort(int offset)
-
Field Details
-
buf
@Nonnull final byte[] buf -
baseOffset
final int baseOffset
-
-
Constructor Details
-
DexBuffer
public DexBuffer(@Nonnull byte[] buf) -
DexBuffer
public DexBuffer(@Nonnull byte[] buf, int offset)
-
-
Method Details
-
readSmallUint
public int readSmallUint(int offset) -
readOptionalUint
public int readOptionalUint(int offset) -
readUshort
public int readUshort(int offset) -
readUbyte
public int readUbyte(int offset) -
readLong
public long readLong(int offset) -
readLongAsSmallUint
public int readLongAsSmallUint(int offset) -
readInt
public int readInt(int offset) -
readShort
public int readShort(int offset) -
readByte
public int readByte(int offset) -
readByteRange
@Nonnull public byte[] readByteRange(int start, int length) -
readerAt
-
getBuf
@Nonnull public byte[] getBuf() -
getBaseOffset
public int getBaseOffset()
-