public void sequenceMatch(byte[] bytearray, int numbytes, ArrayList<Match> match) {
		int subindex = 0;
		SequenceSearchState curstate = this;

		do {
			if (curstate.success != null) {
				curstate.exportSuccess(match, 0);
			}
			if (subindex >= numbytes) {
				return;
			}
			curstate = curstate.trans[0xff & bytearray[subindex]];		// Perform state transition based on next byte in buffer
			subindex += 1;
		}
		while (curstate != null);

	}
Try to match this Sequence to the byteArray, and add any matches to the match list
@param bytearray array of bytes to match
@param numbytes retrict number of bytes to allow to match
@param match list of matches, the result
Ghidra/Features/Base/src/main/java/ghidra/util/bytesearch/SequenceSearchState.java