Package dev.voidframework.core.helper
Class Hex
java.lang.Object
dev.voidframework.core.helper.Hex
String utility methods.
-
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
-