Class Ldpc64CltuGenerator

java.lang.Object
org.yamcs.tctm.ccsds.error.CltuGenerator
org.yamcs.tctm.ccsds.error.Ldpc64CltuGenerator

public class Ldpc64CltuGenerator extends CltuGenerator
  • Field Details

    • CCSDS_START_SEQ

      public static final byte[] CCSDS_START_SEQ
    • CCSDS_TAIL_SEQ

      public static final byte[] CCSDS_TAIL_SEQ
  • Constructor Details

    • Ldpc64CltuGenerator

      public Ldpc64CltuGenerator(byte[] startSeq, byte[] tailSeq)
    • Ldpc64CltuGenerator

      public Ldpc64CltuGenerator(boolean withTail)
  • Method Details

    • makeCltu

      public byte[] makeCltu(byte[] frameData, boolean randomize)
      Description copied from class: CltuGenerator
      encode the data optionally randomizing it. Note that randomization is mandatory for the LDCP codec so that codec will throw an IllegalArgumentException if the argument is false.
      Specified by:
      makeCltu in class CltuGenerator
      Returns:
      - the encoded data