Package org.yamcs.mdb

Interface DataEncoder

All Superinterfaces:
AlgorithmExecutor
All Known Implementing Classes:
AbstractDataEncoder, LeadingSizeBinaryEncoder, ReverseBinaryEncoder

public interface DataEncoder extends AlgorithmExecutor
Interface to be implemented by the custom XTCE DataEncoding decoders - toBinaryTransformAlgorithm
  • Method Details

    • encodeRaw

      void encodeRaw(DataEncoding de, Value rawValue, BitBuffer buffer, TcProcessingContext ctx)
      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 of
      rawValue - raw value to be encoded
      buffer - buffer in which the value should be encoded
      ctx - TC processing context