public class Hex extends Object
| Constructor and Description |
|---|
Hex() |
| Modifier and Type | Method and Description |
|---|---|
static int |
formatUnsignedLongHex(byte[] b,
int start,
long value,
int width) |
static long |
getLong(byte[] arr,
int idx) |
static int |
hexByteToInt(int c) |
static int |
hexByteToInt(int c,
int marker)
Return the value of the hex digit, or the marker value if not a hex
digit.
|
static int |
hexStringToInt(String s,
int i,
int len)
Hex string to value
|
public static int formatUnsignedLongHex(byte[] b,
int start,
long value,
int width)
public static long getLong(byte[] arr,
int idx)
public static int hexByteToInt(int c)
public static int hexByteToInt(int c,
int marker)
public static int hexStringToInt(String s, int i, int len)
Licenced under the Apache License, Version 2.0