private byte getByte(MemBuffer buf, int i) {
		try {
			return buf.getByte(i);
		}
		catch (MemoryAccessException e) {
			return -1;
		}
	}
Returns a new address set that is the intersection of the given set with the
desired memory block addresses (loaded or unloaded).
<p>
Note: This desired set of memory blocks is known by inspecting the 
{@link StringTableOptions#useLoadedBlocksOnly()} attribute set by the user. 

@param addressSet the address set to update
@param useLoadedBlocksOnly if true, only return addresses in loaded memory blocks
@return new the new address set
Ghidra/Features/Base/src/main/java/ghidra/program/util/string/AbstractStringSearcher.java