Class Hex


  • public final class Hex
    extends Object
    Utility functions for hex encoding.
    • Method Detail

      • getString

        public static String getString​(byte b)
        Returns a hex string of the given byte.
      • getBytes

        public static byte[] getBytes​(byte b)
        Returns the bytes corresponding to the ASCII hex encoding of the given byte.