|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dex.Dex.Section
public final class Dex.Section
| Method Summary | |
|---|---|
void |
alignToFourBytes()
Skips bytes until the position is aligned to a multiple of 4. |
void |
alignToFourBytesWithZeroFill()
Writes 0x00 until the position is aligned to a multiple of 4. |
void |
assertFourByteAligned()
|
int |
getPosition()
|
Annotation |
readAnnotation()
|
byte |
readByte()
Returns a byte. |
byte[] |
readByteArray(int length)
|
ClassDef |
readClassDef()
|
EncodedValue |
readEncodedArray()
|
FieldId |
readFieldId()
|
int |
readInt()
|
MethodId |
readMethodId()
|
ProtoId |
readProtoId()
|
short |
readShort()
|
short[] |
readShortArray(int length)
|
int |
readSleb128()
|
String |
readString()
|
TypeList |
readTypeList()
|
int |
readUleb128()
|
int |
readUleb128p1()
|
int |
readUnsignedShort()
|
int |
remaining()
Returns the number of bytes remaining in this section. |
void |
skip(int count)
|
int |
used()
Returns the number of bytes used by this section. |
void |
write(byte[] bytes)
|
void |
write(short[] shorts)
|
void |
writeByte(int b)
Writes a byte. |
void |
writeInt(int i)
|
void |
writeShort(short i)
|
void |
writeSleb128(int i)
|
void |
writeStringData(String value)
|
void |
writeTypeList(TypeList typeList)
|
void |
writeUleb128(int i)
|
void |
writeUleb128p1(int i)
|
void |
writeUnsignedShort(int i)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getPosition()
public int readInt()
public short readShort()
public int readUnsignedShort()
public byte readByte()
ByteInput
readByte in interface ByteInputpublic byte[] readByteArray(int length)
public short[] readShortArray(int length)
public int readUleb128()
public int readUleb128p1()
public int readSleb128()
public void writeUleb128p1(int i)
public TypeList readTypeList()
public String readString()
public FieldId readFieldId()
public MethodId readMethodId()
public ProtoId readProtoId()
public ClassDef readClassDef()
public Annotation readAnnotation()
public EncodedValue readEncodedArray()
public void skip(int count)
public void alignToFourBytes()
public void alignToFourBytesWithZeroFill()
public void assertFourByteAligned()
public void write(byte[] bytes)
public void writeByte(int b)
ByteOutput
writeByte in interface ByteOutputpublic void writeShort(short i)
public void writeUnsignedShort(int i)
public void write(short[] shorts)
public void writeInt(int i)
public void writeUleb128(int i)
public void writeSleb128(int i)
public void writeStringData(String value)
public void writeTypeList(TypeList typeList)
public int remaining()
public int used()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||