Package ghidra.app.util.bin.format.pef
Enum PackedDataOpcodes
- java.lang.Object
-
- java.lang.Enum<PackedDataOpcodes>
-
- ghidra.app.util.bin.format.pef.PackedDataOpcodes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PackedDataOpcodes>
public enum PackedDataOpcodes extends java.lang.Enum<PackedDataOpcodes>
Packed Data Contents See Apple's -- IOPEFInternals.h
-
-
Enum Constant Summary
Enum Constants Enum Constant Description kPEFPkDataBlock
Block copy "count" bytes.kPEFPkDataRepeat
Repeat "count" bytes "count2"+1 times.kPEFPkDataRepeatBlock
Interleaved repeated and unique data.kPEFPkDataRepeatZero
Interleaved zero and unique data.kPEFPkDataReserved5
Reserved.kPEFPkDataReserved6
Reserved.kPEFPkDataReserved7
Reserved.kPEFPkDataZero
Zero fill "count" bytes.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PackedDataOpcodes
get(int value)
int
getValue()
static PackedDataOpcodes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PackedDataOpcodes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
kPEFPkDataZero
public static final PackedDataOpcodes kPEFPkDataZero
Zero fill "count" bytes.
-
kPEFPkDataBlock
public static final PackedDataOpcodes kPEFPkDataBlock
Block copy "count" bytes.
-
kPEFPkDataRepeat
public static final PackedDataOpcodes kPEFPkDataRepeat
Repeat "count" bytes "count2"+1 times.
-
kPEFPkDataRepeatBlock
public static final PackedDataOpcodes kPEFPkDataRepeatBlock
Interleaved repeated and unique data.
-
kPEFPkDataRepeatZero
public static final PackedDataOpcodes kPEFPkDataRepeatZero
Interleaved zero and unique data.
-
kPEFPkDataReserved5
public static final PackedDataOpcodes kPEFPkDataReserved5
Reserved.
-
kPEFPkDataReserved6
public static final PackedDataOpcodes kPEFPkDataReserved6
Reserved.
-
kPEFPkDataReserved7
public static final PackedDataOpcodes kPEFPkDataReserved7
Reserved.
-
-
Method Detail
-
values
public static PackedDataOpcodes[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PackedDataOpcodes c : PackedDataOpcodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PackedDataOpcodes valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
get
public static PackedDataOpcodes get(int value)
-
-