Class LeadingSizeBinaryEncoder

java.lang.Object
org.yamcs.mdb.AbstractDataEncoder
org.yamcs.algo.LeadingSizeBinaryEncoder
All Implemented Interfaces:
AlgorithmExecutor, DataEncoder

public class LeadingSizeBinaryEncoder extends AbstractDataEncoder
  • Constructor Details

  • Method Details

    • encodeRaw

      public void encodeRaw(DataEncoding de, Value rawValue, BitBuffer bitbuf, TcProcessingContext ctx)
      Description copied from interface: DataEncoder
      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
      bitbuf - buffer in which the value should be encoded
      ctx - TC processing context