Class Base16

    • Constructor Detail

      • Base16

        public Base16()
        Constructs a Base16 codec used for decoding and encoding.
      • Base16

        @Deprecated
        public Base16​(boolean lowerCase)
        Deprecated.
        Constructs a Base16 codec used for decoding and encoding.
        Parameters:
        lowerCase - true to use the lower-case Base16 alphabet.
      • Base16

        @Deprecated
        public Base16​(boolean lowerCase,
                      CodecPolicy decodingPolicy)
        Deprecated.
        Constructs a Base16 codec used for decoding and encoding.
        Parameters:
        lowerCase - true to use the lower-case Base16 alphabet.
        decodingPolicy - Decoding policy.
    • Method Detail

      • builder

        public static Base16.Builder builder()
        Constructs a new builder.
        Returns:
        a new builder.
        Since:
        1.20.0
      • isInAlphabet

        public boolean isInAlphabet​(byte octet)
        Returns whether or not the octet is in the Base16 alphabet.
        Specified by:
        isInAlphabet in class BaseNCodec
        Parameters:
        octet - The value to test.
        Returns:
        true if the value is defined in the Base16 alphabet false otherwise.