Class Base32.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructs a new instance.
    • Method Detail

      • setHexDecodeTable

        public Base32.Builder setHexDecodeTable​(boolean useHex)
        Sets the decode table to use Base32 hexadecimal if true, otherwise use the Base32 alphabet.

        This overrides a value previously set with BaseNCodec.AbstractBuilder.setEncodeTable(byte...).

        Parameters:
        useHex - use Base32 hexadecimal if true, otherwise use the Base32 alphabet.
        Returns:
        this instance.
        Since:
        1.18.0
      • setHexEncodeTable

        public Base32.Builder setHexEncodeTable​(boolean useHex)
        Sets the encode table to use Base32 hexadecimal if true, otherwise use the Base32 alphabet.

        This overrides a value previously set with BaseNCodec.AbstractBuilder.setEncodeTable(byte...).

        Parameters:
        useHex - use Base32 hexadecimal if true, otherwise use the Base32 alphabet.
        Returns:
        this instance.
        Since:
        1.18.0