@Override
	public String getEquateName(long value, int size, boolean isSigned, Program program) {
		byte[] bytes = new byte[size];
		BigEndianDataConverter.INSTANCE.putValue(value, size, bytes, 0);
		return StringDataInstance.getCharRepresentation(ByteDataType.dataType, bytes, null);
	}
Convert a selected constant in the decompiler window to a character representation.
Ghidra/Features/Decompiler/src/main/java/ghidra/app/plugin/core/decompile/actions/ConvertCharAction.java