|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dx.io.DexBuffer.Section
public final class DexBuffer.Section
| Method Summary | |
|---|---|
void |
alignToFourBytes()
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()
|
EncodedValue |
readEncodedValue()
|
FieldId |
readFieldId()
|
int |
readInt()
|
MethodId |
readMethodId()
|
ProtoId |
readProtoId()
|
short |
readShort()
|
short[] |
readShortArray(int length)
|
int |
readSleb128()
|
String |
readString()
|
TypeList |
readTypeList()
|
int |
readUleb128()
|
int |
readUnsignedShort()
|
int |
remaining()
Returns the number of bytes remaining in 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 |
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 readSleb128()
public TypeList readTypeList()
public String readString()
public FieldId readFieldId()
public MethodId readMethodId()
public ProtoId readProtoId()
public ClassDef readClassDef()
public Annotation readAnnotation()
public EncodedValue readEncodedValue()
public EncodedValue readEncodedArray()
public void alignToFourBytes()
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||