private List<String> getByteStrings(String token, int byteLength) {

		int n = token.length() / byteLength;
		List<String> list = new ArrayList<String>(n);

		for (int i = 0; i < n; i++) {
			list.add(token.substring(i * byteLength, i * byteLength + byteLength));
		}
		return list;
	}
Returns the given string as a list of byte strings. 

@param token the string the parse
@param tokenLength the length of a byte (2 for hex, 8 for binary)
@return
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/EndianFlipWidget.java