public final class HexBin extends Object
Constructor and Description |
---|
HexBin() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
decode(String encoded)
Decode hex string to a byte array
|
static String |
encode(byte[] binaryData)
Encode a byte array to hex string
|
public static String encode(byte[] binaryData)
binaryData
- array of byte to encodepublic static byte[] decode(String encoded)
encoded
- encoded stringCopyright © 2018 JBoss by Red Hat. All rights reserved.