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 stringLicenced under the Apache License, Version 2.0