Package org.yamcs.algo
Class LeadingSizeBinaryEncoder
- java.lang.Object
-
- org.yamcs.xtceproc.AbstractDataEncoder
-
- org.yamcs.algo.LeadingSizeBinaryEncoder
-
- All Implemented Interfaces:
AlgorithmExecutor,DataEncoder
public class LeadingSizeBinaryEncoder extends AbstractDataEncoder
-
-
Constructor Summary
Constructors Constructor Description LeadingSizeBinaryEncoder(CustomAlgorithm alg, AlgorithmExecutionContext ctx, Integer sizeInBitsOfSizeTag)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencodeRaw(DataEncoding de, Value rawValue, BitBuffer bitbuf)Encode the raw value into the buffer.-
Methods inherited from class org.yamcs.xtceproc.AbstractDataEncoder
addExecListener, getAlgorithm, getExecutionContext, getLookbackSize, getRequiredParameters, runAlgorithm, updateParameters
-
-
-
-
Constructor Detail
-
LeadingSizeBinaryEncoder
public LeadingSizeBinaryEncoder(CustomAlgorithm alg, AlgorithmExecutionContext ctx, Integer sizeInBitsOfSizeTag)
-
-
Method Detail
-
encodeRaw
public void encodeRaw(DataEncoding de, Value rawValue, BitBuffer bitbuf)
Description copied from interface:DataEncoderEncode 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 encodedbitbuf- buffer in which the value should be encoded
-
-