@Override
	public String getDataRepresentation(ByteBlock block, BigInteger index)
			throws ByteBlockAccessException {
		short s = block.getShort(index);
		String str = Integer.toHexString(s & 0xFFFF);
		return pad(str);
	}
Converts byte values to Short represented as an 2-byte/4-digit hex number.
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/format/HexShortFormatModel.java