Class Hex


  • public class Hex
    extends java.lang.Object
    Utility for generating hex dumps.
    • Constructor Summary

      Constructors 
      Constructor Description
      Hex()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] fromStringCondensed​(java.lang.String encoded)  
      static byte[] fromStringCondensedAssert​(java.lang.String encoded)  
      static java.lang.String toString​(byte[] bytes)  
      static java.lang.String toString​(byte[] bytes, int offset, int length)  
      static java.lang.String toStringCondensed​(byte[] bytes)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Hex

        public Hex()
    • Method Detail

      • toString

        public static java.lang.String toString​(byte[] bytes)
      • toString

        public static java.lang.String toString​(byte[] bytes,
                                                int offset,
                                                int length)
      • toStringCondensed

        public static java.lang.String toStringCondensed​(byte[] bytes)
      • fromStringCondensed

        public static byte[] fromStringCondensed​(java.lang.String encoded)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • fromStringCondensedAssert

        public static byte[] fromStringCondensedAssert​(java.lang.String encoded)