Package dev.voidframework.core.utils
Class HexUtils
java.lang.Object
dev.voidframework.core.utils.HexUtils
Utility methods to handle hexadecimal values.
-
Method Summary
-
Method Details
-
toHex
Convert each byte composing given string into hexadecimal representation.- Parameters:
str- String to convert- Returns:
- Hexadecimal representation
-
toHex
Convert each byte composing given array into hexadecimal representation.- Parameters:
byteArray- A byte array- Returns:
- Hexadecimal representation
-