public static String getByteCodeString(CodeUnit cu) {
		int length = cu.getLength();
		StringBuffer buffer = new StringBuffer();
		for (int i = 0; i < length; i++) {
			if (i != 0) {
				buffer.append(" ");
			}
			String hex;
			try {
				hex = Integer.toHexString(cu.getByte(i) & 0x0ff);
				if (hex.length() == 1) {
					buffer.append("0");
				}
			}
			catch (MemoryAccessException e) {
				hex = "??";
			}
			buffer.append(hex);
		}
		return buffer.toString();
	}
Get the bytes associated with the specified code unit cu 
formatted as a string.  Bytes will be returned as 2-digit hex
separated with a space.  Any undefined bytes will be represented by "??".
@param cu code unit
@return formatted byte string
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/ProgramUtilities.java