Package com.eka.middleware.pub.util.rest
Class BinaryUtils
java.lang.Object
com.eka.middleware.pub.util.rest.BinaryUtils
Utilities for encoding and decoding binary data to and from different forms.
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
BinaryUtilspublic BinaryUtils()
 
- 
- 
Method Details- 
toHexConverts byte data to a Hex-encoded string.- Parameters:
- data- data to hex encode.
- Returns:
- hex-encoded string.
 
- 
fromHexConverts a Hex-encoded data string to the original byte data.- Parameters:
- hexData- hex-encoded data to decode.
- Returns:
- decoded data from the hex string.
 
 
-