Package org.aion4j.avm.helper.util
Class HexUtil
- java.lang.Object
-
- org.aion4j.avm.helper.util.HexUtil
-
public class HexUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description HexUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringbytesToHexString(byte[] bytes)Converts byte array into its hex string representation.static byte[]hexStringToBytes(String s)Converts hex string into its byte[] representation.
-
-
-
Method Detail
-
bytesToHexString
public static String bytesToHexString(byte[] bytes)
Converts byte array into its hex string representation.- Parameters:
bytes-- Returns:
-
hexStringToBytes
public static byte[] hexStringToBytes(String s)
Converts hex string into its byte[] representation.- Parameters:
s-- Returns:
-
-