public final class HexBin
extends java.lang.Object
Constructor | Description |
---|---|
HexBin() |
Modifier and Type | Method | Description |
---|---|---|
static byte[] |
decode(java.lang.String encoded) |
Decode hex string to a byte array
|
static java.lang.String |
encode(byte[] binaryData) |
Encode a byte array to hex string
|
public static java.lang.String encode(byte[] binaryData)
binaryData
- array of byte to encodepublic static byte[] decode(java.lang.String encoded)
encoded
- encoded stringCopyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.