-
- All Known Implementing Classes:
InstructionIndex,InstructionIndexBuilder
public interface InstructionIndexParametersQuery interface providing index meta informations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description intentryCount()Gets the number instructions stored in this index.intopcodeBytes()Gets the number of bytes used to encode an InstructionOpcode in the index's lookup table.default intparameters()Gets this index's parameter dword.intpositionBytes()Gets the number of bytes used to encode a file position in the index's lookup table.
-
-
-
Method Detail
-
parameters
default int parameters()
Gets this index's parameter dword.The parameter dword encodes the individual informations accessible via entryCount(), opcodeBytes() and positionBytes() as follows:
Bit 32-9: Number of index entries.
Bit 8-5: Number of bytes per opcode entry - 1
Bit 4-1: Number of bytes per position entry - 1- Returns:
- this index's parameter dword.
- See Also:
entryCount(),opcodeBytes(),positionBytes()
-
entryCount
int entryCount()
Gets the number instructions stored in this index.- Returns:
- the number instructions stored in this index.
-
opcodeBytes
int opcodeBytes()
Gets the number of bytes used to encode an InstructionOpcode in the index's lookup table.- Returns:
- the number of bytes used to encode an InstructionOpcode in the index's lookup table.
-
positionBytes
int positionBytes()
Gets the number of bytes used to encode a file position in the index's lookup table.- Returns:
- the number of bytes used to encode a file position in the index's lookup table.
-
-