private byte[] getBytes(SearchFormat oldFormat, String text, SearchSettings settings) {
		ByteMatcher byteMatcher = oldFormat.parse(text, settings);
		if (byteMatcher instanceof MaskedByteSequenceByteMatcher matcher) {
			return matcher.getBytes();
		}
		return null;
	}
{@link SearchFormat} for parsing and display bytes in a decimal format. It supports sizes of
2,4,8,16 and can be either signed or unsigned.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/format/DecimalSearchFormat.java