Class Randomizer

java.lang.Object
org.yamcs.tctm.ccsds.Randomizer

public class Randomizer extends Object
CCSDS randomizer as per CCSDS 131.0-B-3(TM) and CCSDS 231.0-B-3 (TC)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    randomizeTc(byte[] buf)
    Randomize the buffer according to CCSDS 231.0-B-3 pseudo-randomizer
    static void
    randomizeTc(byte[] buf, int offset, int length)
    Randomize the buffer starting at offset for length bytes according to CCSDS 231.0-B-3 pseudo-randomizer
    static void
    randomizeTm(byte[] buf)
    Randomize the buffer according to CCSDS 131.0-B-3 pseudo-randomizer
    static void
    randomizeTm(byte[] buf, int offset, int length)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Randomizer

      public Randomizer()
  • Method Details

    • randomizeTm

      public static void randomizeTm(byte[] buf)
      Randomize the buffer according to CCSDS 131.0-B-3 pseudo-randomizer
      Parameters:
      buf -
    • randomizeTm

      public static void randomizeTm(byte[] buf, int offset, int length)
    • randomizeTc

      public static void randomizeTc(byte[] buf)
      Randomize the buffer according to CCSDS 231.0-B-3 pseudo-randomizer
    • randomizeTc

      public static void randomizeTc(byte[] buf, int offset, int length)
      Randomize the buffer starting at offset for length bytes according to CCSDS 231.0-B-3 pseudo-randomizer