Package org.yamcs.mdb
Interface DataDecoder
- All Superinterfaces:
AlgorithmExecutor
- All Known Implementing Classes:
AbstractDataDecoder
,LeadingSizeBinaryDecoder
Interface to be implemented by the custom XTCE DataEncoding decoders - fromBinaryTransformAlgorithm
TODO: unify somehow with the algorithms in order to allow for example to use input parameters
(i.e. value of other parameters may be needed in the decoding)
Until then, please use the AbstractDataDecoder interface to not need to implement any of the AlgorithmExecutor
-
Method Summary
Modifier and TypeMethodDescriptionextractRaw
(DataEncoding de, BitBuffer buffer) Extracts the raw value from the buffer.Methods inherited from interface org.yamcs.algorithms.AlgorithmExecutor
execute, getAlgorithm, getExecutionContext, getInputList, getOutputList, update
-
Method Details
-
extractRaw
Extracts the raw value from the buffer. The offset inside the buffer shall be moved to the end of the parameter- Parameters:
de
-buffer
-- Returns:
-