public class HexDump extends Object
Constructor and Description |
---|
HexDump() |
Modifier and Type | Method and Description |
---|---|
static StringBuilder |
appendByteAsHex(StringBuilder sb,
byte b,
boolean upperCase) |
static String |
dumpHexString(byte[] array) |
static String |
dumpHexString(byte[] array,
int offset,
int length) |
static byte[] |
hexStringToByteArray(String hexString) |
static byte[] |
toByteArray(byte b) |
static byte[] |
toByteArray(int i) |
static String |
toHexString(byte b) |
static String |
toHexString(byte[] array) |
static String |
toHexString(byte[] array,
boolean upperCase) |
static String |
toHexString(byte[] array,
int offset,
int length) |
static String |
toHexString(byte[] array,
int offset,
int length,
boolean upperCase) |
static String |
toHexString(int i) |
public static String dumpHexString(byte[] array)
public static String dumpHexString(byte[] array, int offset, int length)
public static String toHexString(byte b)
public static String toHexString(byte[] array)
public static String toHexString(byte[] array, boolean upperCase)
public static String toHexString(byte[] array, int offset, int length)
public static String toHexString(byte[] array, int offset, int length, boolean upperCase)
public static String toHexString(int i)
public static byte[] toByteArray(byte b)
public static byte[] toByteArray(int i)
public static byte[] hexStringToByteArray(String hexString)
public static StringBuilder appendByteAsHex(StringBuilder sb, byte b, boolean upperCase)