Class Hex

java.lang.Object
com.diozero.util.Hex

public class Hex
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    Hex()  
  • Method Summary

    Modifier and Type Method Description
    static byte[] decodeHex​(java.lang.CharSequence s)  
    static void dumpByteArray​(byte[] bytes)  
    static void dumpByteArray​(byte[] bytes, java.io.PrintStream out)  
    static void dumpIntBuffer​(java.nio.IntBuffer buffer)  
    static void dumpIntBuffer​(java.nio.IntBuffer buffer, int start, int end)  
    static java.lang.String encodeHexString​(byte[] bytes)  
    static java.lang.String encodeHexString​(byte[] bytes, int bundleSize)  
    static void main​(java.lang.String[] args)  

    Methods inherited from class java.lang.Object

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

    • Hex

      public Hex()
  • Method Details

    • encodeHexString

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

      public static java.lang.String encodeHexString​(byte[] bytes, int bundleSize)
    • decodeHex

      public static byte[] decodeHex​(java.lang.CharSequence s)
    • dumpIntBuffer

      public static void dumpIntBuffer​(java.nio.IntBuffer buffer)
    • dumpIntBuffer

      public static void dumpIntBuffer​(java.nio.IntBuffer buffer, int start, int end)
    • dumpByteArray

      public static void dumpByteArray​(byte[] bytes)
    • dumpByteArray

      public static void dumpByteArray​(byte[] bytes, java.io.PrintStream out)
    • main

      public static void main​(java.lang.String[] args)