Package proguard.classfile.instruction
Class Instruction
java.lang.Object
proguard.classfile.instruction.Instruction
- Direct Known Subclasses:
BranchInstruction,CodeAttributeEditor.Label,ConstantInstruction,InstructionSequenceReplacer.Label,SimpleInstruction,SwitchInstruction,VariableInstruction
Base class for representing instructions.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final String[]static final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final bytebyte -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidaccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) Accepts the given visitor.byteReturns the actual opcode of this instruction, i.e.byteReturns the canonical opcode of this instruction, i.e.abstract booleangetName()Returns the name of the instruction.abstract inthashCode()booleanReturns whether the instruction is a Category 2 instruction.protected booleanisWide()Returns whether the instruction is wide, i.e.abstract intlength(int offset) Returns the length in bytes of the instruction.booleanmayInstanceThrowExceptions(Clazz clazz) Returns whether a particular instance of an instruction may throw exceptions.booleanReturns whether the instruction may conservatively throw exceptions.protected static intreadByte(byte[] code, int offset) protected abstract voidreadInfo(byte[] code, int offset) Reads the data following the instruction opcode.protected static intreadInt(byte[] code, int offset) protected static intreadShort(byte[] code, int offset) protected static intreadSignedByte(byte[] code, int offset) protected static intreadSignedShort(byte[] code, int offset) protected static intreadSignedValue(byte[] code, int offset, int valueSize) protected static intreadValue(byte[] code, int offset, int valueSize) abstract Instructionshrink()Shrinks this instruction to its shortest possible form.intstackEntryIndexBefore(Clazz clazz, int stackEntryIndexAfter) Returns the stack entry index from which the specified stack entry is copied by a dup/swap/checkcast instruction, or -1 otherwise.intstackPopCount(Clazz clazz) Returns the number of entries popped from the stack during the execution of the instruction.intstackPushCount(Clazz clazz) Returns the number of entries pushed onto the stack during the execution of the instruction.toString(int offset) Returns a description of the instruction, at the given offset.Returns a description of the instruction, at the given offset.voidwrite(byte[] code, int offset) Writes the Instruction at the given offset in the given code array.final voidwrite(CodeAttribute codeAttribute, int offset) Writes the Instruction at the given offset in the given code attribute.protected static voidwriteByte(byte[] code, int offset, int value) protected abstract voidwriteInfo(byte[] code, int offset) Writes data following the instruction opcode.protected static voidwriteInt(byte[] code, int offset, int value) protected static voidwriteShort(byte[] code, int offset, int value) protected static voidwriteSignedByte(byte[] code, int offset, int value) protected static voidwriteSignedShort(byte[] code, int offset, int value) protected static voidwriteSignedValue(byte[] code, int offset, int value, int valueSize) protected static voidwriteValue(byte[] code, int offset, int value, int valueSize)
-
Field Details
-
OP_NOP
public static final byte OP_NOP- See Also:
-
OP_ACONST_NULL
public static final byte OP_ACONST_NULL- See Also:
-
OP_ICONST_M1
public static final byte OP_ICONST_M1- See Also:
-
OP_ICONST_0
public static final byte OP_ICONST_0- See Also:
-
OP_ICONST_1
public static final byte OP_ICONST_1- See Also:
-
OP_ICONST_2
public static final byte OP_ICONST_2- See Also:
-
OP_ICONST_3
public static final byte OP_ICONST_3- See Also:
-
OP_ICONST_4
public static final byte OP_ICONST_4- See Also:
-
OP_ICONST_5
public static final byte OP_ICONST_5- See Also:
-
OP_LCONST_0
public static final byte OP_LCONST_0- See Also:
-
OP_LCONST_1
public static final byte OP_LCONST_1- See Also:
-
OP_FCONST_0
public static final byte OP_FCONST_0- See Also:
-
OP_FCONST_1
public static final byte OP_FCONST_1- See Also:
-
OP_FCONST_2
public static final byte OP_FCONST_2- See Also:
-
OP_DCONST_0
public static final byte OP_DCONST_0- See Also:
-
OP_DCONST_1
public static final byte OP_DCONST_1- See Also:
-
OP_BIPUSH
public static final byte OP_BIPUSH- See Also:
-
OP_SIPUSH
public static final byte OP_SIPUSH- See Also:
-
OP_LDC
public static final byte OP_LDC- See Also:
-
OP_LDC_W
public static final byte OP_LDC_W- See Also:
-
OP_LDC2_W
public static final byte OP_LDC2_W- See Also:
-
OP_ILOAD
public static final byte OP_ILOAD- See Also:
-
OP_LLOAD
public static final byte OP_LLOAD- See Also:
-
OP_FLOAD
public static final byte OP_FLOAD- See Also:
-
OP_DLOAD
public static final byte OP_DLOAD- See Also:
-
OP_ALOAD
public static final byte OP_ALOAD- See Also:
-
OP_ILOAD_0
public static final byte OP_ILOAD_0- See Also:
-
OP_ILOAD_1
public static final byte OP_ILOAD_1- See Also:
-
OP_ILOAD_2
public static final byte OP_ILOAD_2- See Also:
-
OP_ILOAD_3
public static final byte OP_ILOAD_3- See Also:
-
OP_LLOAD_0
public static final byte OP_LLOAD_0- See Also:
-
OP_LLOAD_1
public static final byte OP_LLOAD_1- See Also:
-
OP_LLOAD_2
public static final byte OP_LLOAD_2- See Also:
-
OP_LLOAD_3
public static final byte OP_LLOAD_3- See Also:
-
OP_FLOAD_0
public static final byte OP_FLOAD_0- See Also:
-
OP_FLOAD_1
public static final byte OP_FLOAD_1- See Also:
-
OP_FLOAD_2
public static final byte OP_FLOAD_2- See Also:
-
OP_FLOAD_3
public static final byte OP_FLOAD_3- See Also:
-
OP_DLOAD_0
public static final byte OP_DLOAD_0- See Also:
-
OP_DLOAD_1
public static final byte OP_DLOAD_1- See Also:
-
OP_DLOAD_2
public static final byte OP_DLOAD_2- See Also:
-
OP_DLOAD_3
public static final byte OP_DLOAD_3- See Also:
-
OP_ALOAD_0
public static final byte OP_ALOAD_0- See Also:
-
OP_ALOAD_1
public static final byte OP_ALOAD_1- See Also:
-
OP_ALOAD_2
public static final byte OP_ALOAD_2- See Also:
-
OP_ALOAD_3
public static final byte OP_ALOAD_3- See Also:
-
OP_IALOAD
public static final byte OP_IALOAD- See Also:
-
OP_LALOAD
public static final byte OP_LALOAD- See Also:
-
OP_FALOAD
public static final byte OP_FALOAD- See Also:
-
OP_DALOAD
public static final byte OP_DALOAD- See Also:
-
OP_AALOAD
public static final byte OP_AALOAD- See Also:
-
OP_BALOAD
public static final byte OP_BALOAD- See Also:
-
OP_CALOAD
public static final byte OP_CALOAD- See Also:
-
OP_SALOAD
public static final byte OP_SALOAD- See Also:
-
OP_ISTORE
public static final byte OP_ISTORE- See Also:
-
OP_LSTORE
public static final byte OP_LSTORE- See Also:
-
OP_FSTORE
public static final byte OP_FSTORE- See Also:
-
OP_DSTORE
public static final byte OP_DSTORE- See Also:
-
OP_ASTORE
public static final byte OP_ASTORE- See Also:
-
OP_ISTORE_0
public static final byte OP_ISTORE_0- See Also:
-
OP_ISTORE_1
public static final byte OP_ISTORE_1- See Also:
-
OP_ISTORE_2
public static final byte OP_ISTORE_2- See Also:
-
OP_ISTORE_3
public static final byte OP_ISTORE_3- See Also:
-
OP_LSTORE_0
public static final byte OP_LSTORE_0- See Also:
-
OP_LSTORE_1
public static final byte OP_LSTORE_1- See Also:
-
OP_LSTORE_2
public static final byte OP_LSTORE_2- See Also:
-
OP_LSTORE_3
public static final byte OP_LSTORE_3- See Also:
-
OP_FSTORE_0
public static final byte OP_FSTORE_0- See Also:
-
OP_FSTORE_1
public static final byte OP_FSTORE_1- See Also:
-
OP_FSTORE_2
public static final byte OP_FSTORE_2- See Also:
-
OP_FSTORE_3
public static final byte OP_FSTORE_3- See Also:
-
OP_DSTORE_0
public static final byte OP_DSTORE_0- See Also:
-
OP_DSTORE_1
public static final byte OP_DSTORE_1- See Also:
-
OP_DSTORE_2
public static final byte OP_DSTORE_2- See Also:
-
OP_DSTORE_3
public static final byte OP_DSTORE_3- See Also:
-
OP_ASTORE_0
public static final byte OP_ASTORE_0- See Also:
-
OP_ASTORE_1
public static final byte OP_ASTORE_1- See Also:
-
OP_ASTORE_2
public static final byte OP_ASTORE_2- See Also:
-
OP_ASTORE_3
public static final byte OP_ASTORE_3- See Also:
-
OP_IASTORE
public static final byte OP_IASTORE- See Also:
-
OP_LASTORE
public static final byte OP_LASTORE- See Also:
-
OP_FASTORE
public static final byte OP_FASTORE- See Also:
-
OP_DASTORE
public static final byte OP_DASTORE- See Also:
-
OP_AASTORE
public static final byte OP_AASTORE- See Also:
-
OP_BASTORE
public static final byte OP_BASTORE- See Also:
-
OP_CASTORE
public static final byte OP_CASTORE- See Also:
-
OP_SASTORE
public static final byte OP_SASTORE- See Also:
-
OP_POP
public static final byte OP_POP- See Also:
-
OP_POP2
public static final byte OP_POP2- See Also:
-
OP_DUP
public static final byte OP_DUP- See Also:
-
OP_DUP_X1
public static final byte OP_DUP_X1- See Also:
-
OP_DUP_X2
public static final byte OP_DUP_X2- See Also:
-
OP_DUP2
public static final byte OP_DUP2- See Also:
-
OP_DUP2_X1
public static final byte OP_DUP2_X1- See Also:
-
OP_DUP2_X2
public static final byte OP_DUP2_X2- See Also:
-
OP_SWAP
public static final byte OP_SWAP- See Also:
-
OP_IADD
public static final byte OP_IADD- See Also:
-
OP_LADD
public static final byte OP_LADD- See Also:
-
OP_FADD
public static final byte OP_FADD- See Also:
-
OP_DADD
public static final byte OP_DADD- See Also:
-
OP_ISUB
public static final byte OP_ISUB- See Also:
-
OP_LSUB
public static final byte OP_LSUB- See Also:
-
OP_FSUB
public static final byte OP_FSUB- See Also:
-
OP_DSUB
public static final byte OP_DSUB- See Also:
-
OP_IMUL
public static final byte OP_IMUL- See Also:
-
OP_LMUL
public static final byte OP_LMUL- See Also:
-
OP_FMUL
public static final byte OP_FMUL- See Also:
-
OP_DMUL
public static final byte OP_DMUL- See Also:
-
OP_IDIV
public static final byte OP_IDIV- See Also:
-
OP_LDIV
public static final byte OP_LDIV- See Also:
-
OP_FDIV
public static final byte OP_FDIV- See Also:
-
OP_DDIV
public static final byte OP_DDIV- See Also:
-
OP_IREM
public static final byte OP_IREM- See Also:
-
OP_LREM
public static final byte OP_LREM- See Also:
-
OP_FREM
public static final byte OP_FREM- See Also:
-
OP_DREM
public static final byte OP_DREM- See Also:
-
OP_INEG
public static final byte OP_INEG- See Also:
-
OP_LNEG
public static final byte OP_LNEG- See Also:
-
OP_FNEG
public static final byte OP_FNEG- See Also:
-
OP_DNEG
public static final byte OP_DNEG- See Also:
-
OP_ISHL
public static final byte OP_ISHL- See Also:
-
OP_LSHL
public static final byte OP_LSHL- See Also:
-
OP_ISHR
public static final byte OP_ISHR- See Also:
-
OP_LSHR
public static final byte OP_LSHR- See Also:
-
OP_IUSHR
public static final byte OP_IUSHR- See Also:
-
OP_LUSHR
public static final byte OP_LUSHR- See Also:
-
OP_IAND
public static final byte OP_IAND- See Also:
-
OP_LAND
public static final byte OP_LAND- See Also:
-
OP_IOR
public static final byte OP_IOR- See Also:
-
OP_LOR
public static final byte OP_LOR- See Also:
-
OP_IXOR
public static final byte OP_IXOR- See Also:
-
OP_LXOR
public static final byte OP_LXOR- See Also:
-
OP_IINC
public static final byte OP_IINC- See Also:
-
OP_I2L
public static final byte OP_I2L- See Also:
-
OP_I2F
public static final byte OP_I2F- See Also:
-
OP_I2D
public static final byte OP_I2D- See Also:
-
OP_L2I
public static final byte OP_L2I- See Also:
-
OP_L2F
public static final byte OP_L2F- See Also:
-
OP_L2D
public static final byte OP_L2D- See Also:
-
OP_F2I
public static final byte OP_F2I- See Also:
-
OP_F2L
public static final byte OP_F2L- See Also:
-
OP_F2D
public static final byte OP_F2D- See Also:
-
OP_D2I
public static final byte OP_D2I- See Also:
-
OP_D2L
public static final byte OP_D2L- See Also:
-
OP_D2F
public static final byte OP_D2F- See Also:
-
OP_I2B
public static final byte OP_I2B- See Also:
-
OP_I2C
public static final byte OP_I2C- See Also:
-
OP_I2S
public static final byte OP_I2S- See Also:
-
OP_LCMP
public static final byte OP_LCMP- See Also:
-
OP_FCMPL
public static final byte OP_FCMPL- See Also:
-
OP_FCMPG
public static final byte OP_FCMPG- See Also:
-
OP_DCMPL
public static final byte OP_DCMPL- See Also:
-
OP_DCMPG
public static final byte OP_DCMPG- See Also:
-
OP_IFEQ
public static final byte OP_IFEQ- See Also:
-
OP_IFNE
public static final byte OP_IFNE- See Also:
-
OP_IFLT
public static final byte OP_IFLT- See Also:
-
OP_IFGE
public static final byte OP_IFGE- See Also:
-
OP_IFGT
public static final byte OP_IFGT- See Also:
-
OP_IFLE
public static final byte OP_IFLE- See Also:
-
OP_IFICMPEQ
public static final byte OP_IFICMPEQ- See Also:
-
OP_IFICMPNE
public static final byte OP_IFICMPNE- See Also:
-
OP_IFICMPLT
public static final byte OP_IFICMPLT- See Also:
-
OP_IFICMPGE
public static final byte OP_IFICMPGE- See Also:
-
OP_IFICMPGT
public static final byte OP_IFICMPGT- See Also:
-
OP_IFICMPLE
public static final byte OP_IFICMPLE- See Also:
-
OP_IFACMPEQ
public static final byte OP_IFACMPEQ- See Also:
-
OP_IFACMPNE
public static final byte OP_IFACMPNE- See Also:
-
OP_GOTO
public static final byte OP_GOTO- See Also:
-
OP_JSR
public static final byte OP_JSR- See Also:
-
OP_RET
public static final byte OP_RET- See Also:
-
OP_TABLESWITCH
public static final byte OP_TABLESWITCH- See Also:
-
OP_LOOKUPSWITCH
public static final byte OP_LOOKUPSWITCH- See Also:
-
OP_IRETURN
public static final byte OP_IRETURN- See Also:
-
OP_LRETURN
public static final byte OP_LRETURN- See Also:
-
OP_FRETURN
public static final byte OP_FRETURN- See Also:
-
OP_DRETURN
public static final byte OP_DRETURN- See Also:
-
OP_ARETURN
public static final byte OP_ARETURN- See Also:
-
OP_RETURN
public static final byte OP_RETURN- See Also:
-
OP_GETSTATIC
public static final byte OP_GETSTATIC- See Also:
-
OP_PUTSTATIC
public static final byte OP_PUTSTATIC- See Also:
-
OP_GETFIELD
public static final byte OP_GETFIELD- See Also:
-
OP_PUTFIELD
public static final byte OP_PUTFIELD- See Also:
-
OP_INVOKEVIRTUAL
public static final byte OP_INVOKEVIRTUAL- See Also:
-
OP_INVOKESPECIAL
public static final byte OP_INVOKESPECIAL- See Also:
-
OP_INVOKESTATIC
public static final byte OP_INVOKESTATIC- See Also:
-
OP_INVOKEINTERFACE
public static final byte OP_INVOKEINTERFACE- See Also:
-
OP_INVOKEDYNAMIC
public static final byte OP_INVOKEDYNAMIC- See Also:
-
OP_NEW
public static final byte OP_NEW- See Also:
-
OP_NEWARRAY
public static final byte OP_NEWARRAY- See Also:
-
OP_ANEWARRAY
public static final byte OP_ANEWARRAY- See Also:
-
OP_ARRAYLENGTH
public static final byte OP_ARRAYLENGTH- See Also:
-
OP_ATHROW
public static final byte OP_ATHROW- See Also:
-
OP_CHECKCAST
public static final byte OP_CHECKCAST- See Also:
-
OP_INSTANCEOF
public static final byte OP_INSTANCEOF- See Also:
-
OP_MONITORENTER
public static final byte OP_MONITORENTER- See Also:
-
OP_MONITOREXIT
public static final byte OP_MONITOREXIT- See Also:
-
OP_WIDE
public static final byte OP_WIDE- See Also:
-
OP_MULTIANEWARRAY
public static final byte OP_MULTIANEWARRAY- See Also:
-
OP_IFNULL
public static final byte OP_IFNULL- See Also:
-
OP_IFNONNULL
public static final byte OP_IFNONNULL- See Also:
-
OP_GOTO_W
public static final byte OP_GOTO_W- See Also:
-
OP_JSR_W
public static final byte OP_JSR_W- See Also:
-
NAMES
-
ARRAY_T_BOOLEAN
public static final byte ARRAY_T_BOOLEAN- See Also:
-
ARRAY_T_CHAR
public static final byte ARRAY_T_CHAR- See Also:
-
ARRAY_T_FLOAT
public static final byte ARRAY_T_FLOAT- See Also:
-
ARRAY_T_DOUBLE
public static final byte ARRAY_T_DOUBLE- See Also:
-
ARRAY_T_BYTE
public static final byte ARRAY_T_BYTE- See Also:
-
ARRAY_T_SHORT
public static final byte ARRAY_T_SHORT- See Also:
-
ARRAY_T_INT
public static final byte ARRAY_T_INT- See Also:
-
ARRAY_T_LONG
public static final byte ARRAY_T_LONG- See Also:
-
opcode
public byte opcode
-
-
Constructor Details
-
Instruction
public Instruction()
-
-
Method Details
-
equals
-
hashCode
public abstract int hashCode() -
canonicalOpcode
public byte canonicalOpcode()Returns the canonical opcode of this instruction, i.e. typically the opcode whose extension has been removed. -
actualOpcode
public byte actualOpcode()Returns the actual opcode of this instruction, i.e. the opcode that is stored in the bytecode. -
shrink
Shrinks this instruction to its shortest possible form.- Returns:
- this instruction.
-
write
Writes the Instruction at the given offset in the given code attribute. -
write
public void write(byte[] code, int offset) Writes the Instruction at the given offset in the given code array. -
isWide
protected boolean isWide()Returns whether the instruction is wide, i.e. preceded by a wide opcode. With the current specifications, only variable instructions can be wide. -
readInfo
protected abstract void readInfo(byte[] code, int offset) Reads the data following the instruction opcode. -
writeInfo
protected abstract void writeInfo(byte[] code, int offset) Writes data following the instruction opcode. -
length
public abstract int length(int offset) Returns the length in bytes of the instruction. -
accept
public abstract void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) Accepts the given visitor. -
toString
Returns a description of the instruction, at the given offset. -
toString
Returns a description of the instruction, at the given offset. -
getName
Returns the name of the instruction. -
mayThrowExceptions
public boolean mayThrowExceptions()Returns whether the instruction may conservatively throw exceptions. -
mayInstanceThrowExceptions
Returns whether a particular instance of an instruction may throw exceptions. -
isCategory2
public boolean isCategory2()Returns whether the instruction is a Category 2 instruction. This means that it operates on long or double arguments. -
stackPopCount
Returns the number of entries popped from the stack during the execution of the instruction. -
stackPushCount
Returns the number of entries pushed onto the stack during the execution of the instruction. -
stackEntryIndexBefore
Returns the stack entry index from which the specified stack entry is copied by a dup/swap/checkcast instruction, or -1 otherwise. Stack entry indices are counted from the top of the stack.- checkcast: after: 0 (before: 0 ) -- not anymore
- dup: after: 0 0 (before: 0 )
- dup_x1: after: 0 1 0 (before: 1 0 )
- dup_x2: after: 0 2 1 0 (before: 2 1 0 )
- dup2: after: 1 0 1 0 (before: 1 0 )
- dup2_x1: after: 1 0 2 1 0 (before: 2 1 0 )
- dup2_x2: after: 1 0 3 2 1 0 (before: 3 2 1 0)
-
readByte
protected static int readByte(byte[] code, int offset) -
readShort
protected static int readShort(byte[] code, int offset) -
readInt
protected static int readInt(byte[] code, int offset) -
readValue
protected static int readValue(byte[] code, int offset, int valueSize) -
readSignedByte
protected static int readSignedByte(byte[] code, int offset) -
readSignedShort
protected static int readSignedShort(byte[] code, int offset) -
readSignedValue
protected static int readSignedValue(byte[] code, int offset, int valueSize) -
writeByte
protected static void writeByte(byte[] code, int offset, int value) -
writeShort
protected static void writeShort(byte[] code, int offset, int value) -
writeInt
protected static void writeInt(byte[] code, int offset, int value) -
writeValue
protected static void writeValue(byte[] code, int offset, int value, int valueSize) -
writeSignedByte
protected static void writeSignedByte(byte[] code, int offset, int value) -
writeSignedShort
protected static void writeSignedShort(byte[] code, int offset, int value) -
writeSignedValue
protected static void writeSignedValue(byte[] code, int offset, int value, int valueSize)
-