Package org.yamcs.mdb

Interface DataDecoder

All Superinterfaces:
AlgorithmExecutor
All Known Implementing Classes:
AbstractDataDecoder, BitMaskBooleanDecoder, HexStringDecoder, LeadingSizeBinaryDecoder, RemainingBinaryDecoder, ReverseBinaryDecoder

public interface DataDecoder extends AlgorithmExecutor
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 Details

    • extractRaw

      Value extractRaw(DataEncoding de, BitBuffer buffer)
      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: