Class HexEncode
java.lang.Object
org.opendaylight.openflowplugin.libraries.liblldp.HexEncode
The class provides methods to convert hex encode strings.
- 
Method SummaryModifier and TypeMethodDescriptionstatic byte[]bytesFromHexString(String values) static StringbytesToHexString(byte[] bytes) This method converts byte array into String format without ":" inserted.static StringbytesToHexStringFormat(byte[] bytes) This method converts byte array into HexString format with ":" inserted.static StringlongToHexString(long val) static longstringToLong(String values) 
- 
Method Details- 
bytesToHexStringThis method converts byte array into String format without ":" inserted.- Parameters:
- bytes- The byte array to convert to string
- Returns:
- The hexadecimal representation of the byte array. If bytes is null, "null" string is returned
 
- 
longToHexString
- 
bytesFromHexString
- 
stringToLong
- 
bytesToHexStringFormatThis method converts byte array into HexString format with ":" inserted.
 
-