Package org.yamcs.xtceproc
Class DataEncodingUtils
java.lang.Object
org.yamcs.xtceproc.DataEncodingUtils
creates raw values according to the data encoding used
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Value
getRawFloatValue
(FloatDataEncoding fde, double value) static Value
getRawFloatValue
(FloatDataEncoding fde, Object value) static Value
getRawIntegerValue
(IntegerDataEncoding ide, long longValue) converts longValue to a raw Value suitable for data encoding.static Value
getRawIntegerValue
(IntegerDataEncoding ide, Object value) static Value
getRawIntegerValue
(IntegerDataEncoding ide, Value value) static Value
rawRawStringValue
(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
-