public class HexEncoder
extends Object
Utility class to encode and decode hex strings.
- Since:
- 3.0.0.M6
-
Constructor Summary
Constructors
-
Method Summary
Decodes the provided hex
String
.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
HexEncoder
public HexEncoder()
-
Method Details
-
encode
- Parameters:
str
- the string to encode
- Returns:
- the encoded string
-
decode
Decodes the provided hex
String
.
- Parameters:
str
- the hex string to decode
- Returns:
- the decoded string