Class BaseNDecoder

    • Field Detail

      • base

        protected final BaseN base
      • alphabets

        protected final char[][] alphabets
      • map

        protected final long[] map
    • Constructor Detail

      • BaseNDecoder

        public BaseNDecoder​(BaseN base,
                            String alphabet)
        Parameters:
        base - an enumeration that represents the base-n encoding
        alphabet - a string that contains the base-n alphabet
    • Method Detail

      • toCharArray

        protected char[] toCharArray​(String string)