private byte[] getBytes(String transferString) {

		byte[] bytes = getHexBytes(transferString);
		if (bytes != null) {
			return bytes;
		}

		// maybe the text is ascii?
		return getAsciiBytes(transferString);
	}
Pattern to recognize bytes that have been encoded during a copy operation using one of this
class's programming copy types
Ghidra/Features/Base/src/main/java/ghidra/app/util/ByteCopier.java