public byte[] byteArrayValue() {
		int numBytes = ((bitLength - 1) / 8) + 1;
		long tmpVal = getValue();
		byte[] data = new byte[numBytes];
		for (int i = numBytes - 1; i >= 0; i--) {
			data[i] = (byte) tmpVal;
			tmpVal >>= 8;
		}
		return data;
	}
<p>Returns a byte array representing this Scalar.  The size of
the byte array is the number of bytes required to hold the
number of bits returned by <CODE>bitLength()</CODE>.</p>

@return a big-endian byte array containing the bits in this Scalar.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/scalar/Scalar.java