Class HexEncoder


  • public class HexEncoder
    extends Object
    Utility class to encode and decode hex strings.
    Since:
    3.0.0.M6
    • Constructor Detail

      • HexEncoder

        public HexEncoder()
    • Method Detail

      • encode

        public String encode​(String str)
        Encodes the provided String.
        Parameters:
        str - the string to encode
        Returns:
        the encoded string
      • decode

        public String decode​(String str)
        Decodes the provided hex String.
        Parameters:
        str - the hex string to decode
        Returns:
        the decoded string