Class HexStringCodec

java.lang.Object
com.nomagic.license.utils.HexStringCodec

@OpenApiAll public class HexStringCodec extends Object
Converts bytes <--> String (hex)
Version:
$Revision: 89040 $, $Date: 2010-02-23 17:16:01 +0200 (An, 23 Vas 2010) $
  • Constructor Details

    • HexStringCodec

      public HexStringCodec()
  • Method Details

    • encode

      public static String encode(byte[] bytes)
      Convert bytes to string of hex.
    • decode

      public static byte[] decode(String hexString)
      Convert hex string to bytes