Class BinaryHelper

java.lang.Object
aero.t2s.modes.BinaryHelper

public class BinaryHelper
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    BinaryHelper()  
  • Method Summary

    Modifier and Type Method Description
    static void printMessageAsBinaryMessage​(short[] data)  
    static short[] stringToByteArray​(java.lang.String input)  

    Methods inherited from class java.lang.Object

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

    • BinaryHelper

      public BinaryHelper()
  • Method Details

    • stringToByteArray

      public static short[] stringToByteArray​(java.lang.String input)
      Parameters:
      input - String representation of mode-s input (e.g. 8D4840D6202CC371C32CE0576098)
      Returns:
      byte array representation.
    • printMessageAsBinaryMessage

      public static void printMessageAsBinaryMessage​(short[] data)