Package org.yamcs.xtceproc
Interface DataEncoder
-
- All Superinterfaces:
AlgorithmExecutor
- All Known Implementing Classes:
AbstractDataEncoder
,LeadingSizeBinaryEncoder
public interface DataEncoder extends AlgorithmExecutor
Interface to be implemented by the custom XTCE DataEncoding decoders - toBinaryTransformAlgorithm
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
encodeRaw(DataEncoding de, Value rawValue, BitBuffer buffer)
Encode the raw value into the buffer.-
Methods inherited from interface org.yamcs.algorithms.AlgorithmExecutor
addExecListener, getAlgorithm, getExecutionContext, getLookbackSize, runAlgorithm, updateParameters
-
-
-
-
Method Detail
-
encodeRaw
void encodeRaw(DataEncoding de, Value rawValue, BitBuffer buffer)
Encode the raw value into the buffer.The offset inside the buffer shall be moved to the end of the parameter
- Parameters:
de
- the data encoding definition of which this algorithm is part ofrawValue
- raw value to be encodedbuffer
- buffer in which the value should be encoded
-
-