Package org.yamcs.algo
Class ReverseBinaryDecoder
java.lang.Object
org.yamcs.mdb.AbstractDataDecoder
org.yamcs.algo.ReverseBinaryDecoder
- All Implemented Interfaces:
AlgorithmExecutor
,DataDecoder
A custom data decoder that returns a binary value that has all the bytes reversed from the encoded binary.
This is intended to be used with a custom transformation for the BinaryDataEncoding
of a binary parameter.
The implementation assumes a fixed-size encoding.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionextractRaw
(DataEncoding de, ContainerProcessingContext pcontext, BitBuffer buffer) Extracts the raw value from the buffer.Methods inherited from class org.yamcs.mdb.AbstractDataDecoder
addExecListener, execute, getAlgorithm, getExecutionContext, removeExecListener, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.algorithms.AlgorithmExecutor
dispose, getInputList, getOutputList
-
Constructor Details
-
ReverseBinaryDecoder
-
-
Method Details
-
extractRaw
Description copied from interface:DataDecoder
Extracts the raw value from the buffer. The offset inside the buffer shall be moved to the end of the parameter
-