@Override
	public BigFloat getValue(MemBuffer buf, Settings settings, int length) {
		try {
			int len = getLength(); // use type length (ignore length arg)
			if (floatFormat == null) {
				return null;
			}
			byte[] bytes = new byte[len];
			if (buf.getBytes(bytes, 0) != len) {
				return null;
			}
			if (len <= 8) {
				long value = Utils.bytesToLong(bytes, len, buf.isBigEndian());
				return floatFormat.decodeBigFloat(value);
			}
			BigInteger value = Utils.bytesToBigInteger(bytes, len, buf.isBigEndian(), false);
			return floatFormat.decodeBigFloat(value);
		}
		catch (UnsupportedFloatFormatException e) {
			return null;
		}
	}
Get the encoded length (number of 8-bit bytes) of this float datatype.

@return encoded length of this float datatype.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/AbstractFloatDataType.java