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
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)
-
Constructor Details
-
Hex
public Hex()
-
-
Method Details
-
encodeHexString
-
encodeHexString
-
decodeHex
-
dumpIntBuffer
-
dumpIntBuffer
-
dumpByteArray
public static void dumpByteArray(byte[] bytes) -
dumpByteArray
-
main
-