java.lang.Object
org.yamcs.mdb.DataEncodingUtils
creates raw values according to the data encoding used
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ValuegetRawFloatValue(FloatDataEncoding fde, double value) static ValuegetRawFloatValue(FloatDataEncoding fde, Object value) static ValuegetRawIntegerValue(IntegerDataEncoding ide, long longValue) converts longValue to a raw Value suitable for data encoding.static ValuegetRawIntegerValue(IntegerDataEncoding ide, Object value) static ValuegetRawIntegerValue(IntegerDataEncoding ide, Value value) static ValuerawRawStringValue(Value engValue)
-
Constructor Details
-
DataEncodingUtils
public DataEncodingUtils()
-
-
Method Details
-
getRawIntegerValue
converts longValue to a raw Value suitable for data encoding. It truncates (remove the most significants bits) the value to fit. -
getRawIntegerValue
-
getRawIntegerValue
-
getRawFloatValue
-
getRawFloatValue
-
rawRawStringValue
-