Package org.yamcs.mdb
Interface DataEncoder
- All Superinterfaces:
AlgorithmExecutor
- All Known Implementing Classes:
AbstractDataEncoder
,LeadingSizeBinaryEncoder
,ReverseBinaryEncoder
Interface to be implemented by the custom XTCE DataEncoding decoders - toBinaryTransformAlgorithm
-
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeRaw
(DataEncoding de, Value rawValue, BitBuffer buffer, TcProcessingContext ctx) Encode the raw value into the buffer.Methods inherited from interface org.yamcs.algorithms.AlgorithmExecutor
dispose, execute, getAlgorithm, getExecutionContext, getInputList, getOutputList, update
-
Method Details
-
encodeRaw
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 encodedctx
- TC processing context
-