Class Overview
format validation
This class encodes/decodes hexadecimal data
Summary
Public Methods |
static
byte[]
|
decode(String encoded)
Decode hex string to a byte array
|
static
String
|
encode(byte[] binaryData)
Encode a byte array to hex string
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
Public Methods
public
static
byte[]
decode
(String encoded)
Decode hex string to a byte array
Returns
- return array of byte to encode
public
static
String
encode
(byte[] binaryData)
Encode a byte array to hex string
Parameters
binaryData
| array of byte to encode |