public final class ByteUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static short |
UNSIGNED_MAX_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
fromHexAscii(java.lang.String s) |
static java.lang.String |
toHexAscii(byte b) |
static java.lang.String |
toHexAscii(byte[] bytes) |
static java.lang.String |
toLowercaseHexAscii(byte b) |
static java.lang.String |
toLowercaseHexAscii(byte[] bytes) |
static short |
toUnsigned(byte b)
Deprecated.
prefer unsignedPromote(...)
|
static int |
unsignedPromote(byte b) |
public static final short UNSIGNED_MAX_VALUE
public static short toUnsigned(byte b)
public static int unsignedPromote(byte b)
public static java.lang.String toHexAscii(byte b)
public static java.lang.String toLowercaseHexAscii(byte b)
public static java.lang.String toHexAscii(byte[] bytes)
public static java.lang.String toLowercaseHexAscii(byte[] bytes)
public static byte[] fromHexAscii(java.lang.String s)
throws java.lang.NumberFormatException
java.lang.NumberFormatException