@Override
	public Object getValue(MemBuffer buf, Settings settings, int length) {
		try {
			int size = getLength();
			if (size == 1) {
				return Character.valueOf((char) buf.getUnsignedByte(0));
			}
			int val = -1;
			if (size == 2) {
				val = buf.getShort(0);
			}
			if (size == 4) {
				val = buf.getInt(0);
			}
			if (val >= 0 && val <= Character.MAX_VALUE) {
				return Character.valueOf((char) val);
			}
			return null;
		}
		catch (MemoryAccessException e) {
			return null;
		}
	}
Returns the C style data-type declaration for this data-type. Null is returned if no
appropriate declaration exists.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/CharDataType.java