private ByteMemBufferImpl getScalarOperandAsMemBuffer(Address addr, Scalar scalar,
			int minTrimLen) {
		byte[] operandBytes = scalar.byteArrayValue();
		if (minTrimLen > 0) {
			operandBytes = trimLeadingZeros(operandBytes, minTrimLen);
		}
		return new ByteMemBufferImpl(addr, operandBytes, true);
	}
A hover service to show tool tip text for hovering over scalar values.
The tooltip shows the scalar in different bases.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/hover/AbstractScalarOperandHover.java