public class BinaryUtils extends Object
Constructor and Description |
---|
BinaryUtils() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
fromHex(String hexData)
Converts a Hex-encoded data string to the original byte data.
|
static String |
toHex(byte[] data)
Converts byte data to a Hex-encoded string.
|
public static String toHex(byte[] data)
data
- data to hex encode.public static byte[] fromHex(String hexData)
hexData
- hex-encoded data to decode.Copyright © 2018 JBoss by Red Hat. All rights reserved.