java.lang.Object
org.yamcs.mdb.AbstractDataEncoder
org.yamcs.algo.LeadingSizeBinaryEncoder
- All Implemented Interfaces:
AlgorithmExecutor,DataEncoder
-
Constructor Summary
ConstructorsConstructorDescriptionLeadingSizeBinaryEncoder(CustomAlgorithm alg, AlgorithmExecutionContext ctx, Integer sizeInBitsOfSizeTag) -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeRaw(DataEncoding de, Value rawValue, BitBuffer bitbuf) Encode the raw value into the buffer.Methods inherited from class org.yamcs.mdb.AbstractDataEncoder
execute, getAlgorithm, getExecutionContext, getLookbackSize, getRequiredParameters, update
-
Constructor Details
-
LeadingSizeBinaryEncoder
public LeadingSizeBinaryEncoder(CustomAlgorithm alg, AlgorithmExecutionContext ctx, Integer sizeInBitsOfSizeTag)
-
-
Method Details
-
encodeRaw
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
-