private void searchForByteArray(byte[] byteArray) throws CancelledException {
		Address start = currentProgram.getMinAddress();
		Address found = find(start, byteArray);
		while (found != null) {
			monitor.checkCancelled();
			println(found.toString());
			start = found.add(1);
			found = find(start, byteArray);
		}
	}
Method to create a byte array out of the given long value
@param value the given value
@param numBytes the number of bytes from the low end of the value to copy into the array
@return the little endian byte array for the given value
@throws CancelledException if cancelled
Ghidra/Features/Base/ghidra_scripts/SearchForImageBaseOffsets.java