Class BaseNEncoder

    • Field Detail

      • base

        protected final BaseN base
      • alphabet

        protected final char[] alphabet
    • Constructor Detail

      • BaseNEncoder

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