public class Hex
extends java.lang.Object
| Constructor and Description |
|---|
Hex() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
get(byte... bytes)
Gets hex string corresponding to the given bytes.
|
static java.lang.String |
get(byte b)
Gets hex string corresponding to the given byte.
|
static java.lang.String |
get(byte[] bytes,
int from,
int to)
Gets hex string corresponding to the given byte array from "from" position to "to's"
|
static java.lang.String |
getEscaped(byte... bytes)
Gets escaped hex string corresponding to the given bytes.
|
static byte[] |
reverse(byte... bytes)
Reverses bytes.
|
public static java.lang.String get(byte[] bytes,
int from,
int to)
bytes - bytes.from - from position.to - to position.public static java.lang.String get(byte... bytes)
bytes - bytes.public static java.lang.String getEscaped(byte... bytes)
bytes - bytes.public static java.lang.String get(byte b)
b - byte.public static byte[] reverse(byte... bytes)
bytes - bytes.Copyright © 2015-2018 Tirasa. All Rights Reserved.