Package ghidra.program.model.data
Class EnumValuePartitioner
java.lang.Object
ghidra.program.model.data.EnumValuePartitioner
This is a static utility class used to partition a set of long values into as many
non-intersecting BitGroups as possible.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
EnumValuePartitioner
public EnumValuePartitioner()
-
-
Method Details
-
partition
Partition the given values into a list of non-intersecting BitGroups.- Parameters:
values
- the values to be partitioned.size
- size of enum value in bytes- Returns:
- a list of BitGroups with non-intersecting bits.
-