Package dev.voidframework.core.helper
Class Hex
java.lang.Object
dev.voidframework.core.helper.Hex
String utility methods.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Hex
public Hex()
-
-
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
-