Package ghidra.program.model.util
Class MemoryByteIterator
java.lang.Object
ghidra.program.model.util.MemoryByteIterator
Class to iterate over the bytes in memory for an address set.
-
Constructor Summary
ConstructorDescriptionMemoryByteIterator
(Memory mem, AddressSetView set) Construct a memoryIterator -
Method Summary
-
Constructor Details
-
MemoryByteIterator
Construct a memoryIterator- Parameters:
mem
- the memory providing the bytesset
- the set of addresses for which to iterate bytes
-
-
Method Details
-
hasNext
public boolean hasNext()Returns true if there are more bytes to iterate over -
next
Returns the next byte.- Throws:
MemoryAccessException
- if the next byte could not be read
-