Class MemoryByteIterator
java.lang.Object
ghidra.program.model.util.MemoryByteIterator
-
Field Summary
Fields -
Constructor Summary
ConstructorsChangeConstructorDescriptionMemoryByteIterator(Memory mem, AddressSetView set) Construct a memoryIterator -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining, remove
-
Field Details
-
MAX_BUF_SIZE NEW
public static final int MAX_BUF_SIZE- See Also:
-
-
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
-
next MODIFIED
-
nextByte NEW
public byte nextByte()Returns the next primitive byte. Use this method if you want to avoid the cost of boxing Bytes the normal next() method returns.- Returns:
- the next primitive byte. Use this method if you want to avoid the cost of boxing Bytes the normal next() method returns
- Throws:
NoSuchElementException- if the iteration has no more elements
-