Package com.diozero.util
Class Hex
- java.lang.Object
-
- com.diozero.util.Hex
-
public class Hex extends Object
-
-
Constructor Summary
Constructors Constructor Description Hex()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
decodeHex(CharSequence s)
static void
dumpByteArray(byte[] bytes)
static void
dumpByteArray(byte[] bytes, PrintStream out)
static void
dumpIntBuffer(IntBuffer buffer)
static void
dumpIntBuffer(IntBuffer buffer, int start, int end)
static String
encodeHexString(byte[] bytes)
static String
encodeHexString(byte[] bytes, int bundleSize)
static void
main(String[] args)
-
-
-
Method Detail
-
encodeHexString
public static String encodeHexString(byte[] bytes)
-
encodeHexString
public static String encodeHexString(byte[] bytes, int bundleSize)
-
decodeHex
public static byte[] decodeHex(CharSequence s)
-
dumpIntBuffer
public static void dumpIntBuffer(IntBuffer buffer)
-
dumpIntBuffer
public static void dumpIntBuffer(IntBuffer buffer, int start, int end)
-
dumpByteArray
public static void dumpByteArray(byte[] bytes)
-
dumpByteArray
public static void dumpByteArray(byte[] bytes, PrintStream out)
-
main
public static void main(String[] args)
-
-