Class SixBit


  • public final class SixBit
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      SixBit()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void convertSixBitToBits​(java.lang.String str, int padBits, boolean[] bitSet, boolean[] calculated, int from, int to)
      Converts sixBit string characters to bits (boolean values in the array bitSet) but just between the bit range from to to exclusive.
      static long getSignedValue​(int from, int to, boolean[] bitSet)  
      static java.lang.String getString​(int from, int to, boolean[] bitSet)  
      static long getValue​(int from, int to, boolean[] bitSet)  
      • Methods inherited from class java.lang.Object

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

      • SixBit

        public SixBit()
    • Method Detail

      • convertSixBitToBits

        public static void convertSixBitToBits​(java.lang.String str,
                                               int padBits,
                                               boolean[] bitSet,
                                               boolean[] calculated,
                                               int from,
                                               int to)
        Converts sixBit string characters to bits (boolean values in the array bitSet) but just between the bit range from to to exclusive.
        Parameters:
        str -
        padBits -
        bitSet -
        calculated -
        from -
        to -
      • getValue

        public static long getValue​(int from,
                                    int to,
                                    boolean[] bitSet)
      • getSignedValue

        public static long getSignedValue​(int from,
                                          int to,
                                          boolean[] bitSet)
      • getString

        public static java.lang.String getString​(int from,
                                                 int to,
                                                 boolean[] bitSet)