|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.android.dex.EncodedValueCodec
public final class EncodedValueCodec
Read and write encoded_value primitives.
| Method Summary | |
|---|---|
static int |
readSignedInt(ByteInput in,
int zwidth)
Read a signed integer. |
static long |
readSignedLong(ByteInput in,
int zwidth)
Read a signed long. |
static int |
readUnsignedInt(ByteInput in,
int zwidth,
boolean fillOnRight)
Read an unsigned integer. |
static long |
readUnsignedLong(ByteInput in,
int zwidth,
boolean fillOnRight)
Read an unsigned long. |
static void |
writeRightZeroExtendedValue(ByteOutput out,
int type,
long value)
Writes a right-zero-extended value to out. |
static void |
writeSignedIntegralValue(ByteOutput out,
int type,
long value)
Writes a signed integral to out. |
static void |
writeUnsignedIntegralValue(ByteOutput out,
int type,
long value)
Writes an unsigned integral to out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void writeSignedIntegralValue(ByteOutput out,
int type,
long value)
out.
public static void writeUnsignedIntegralValue(ByteOutput out,
int type,
long value)
out.
public static void writeRightZeroExtendedValue(ByteOutput out,
int type,
long value)
out.
public static int readSignedInt(ByteInput in,
int zwidth)
zwidth - byte count minus one
public static int readUnsignedInt(ByteInput in,
int zwidth,
boolean fillOnRight)
zwidth - byte count minus onefillOnRight - true to zero fill on the right; false on the left
public static long readSignedLong(ByteInput in,
int zwidth)
zwidth - byte count minus one
public static long readUnsignedLong(ByteInput in,
int zwidth,
boolean fillOnRight)
zwidth - byte count minus onefillOnRight - true to zero fill on the right; false on the left
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||