Class Hex
java.lang.Object
io.github.waterfallmc.waterfall.utils.Hex
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
decode
(char[] chars, int charOffset, byte[] dest, int offset, int length) static byte[]
decode
(CharSequence chars) static void
decode
(CharSequence chars, int charOffset, byte[] dest, int offset, int length) static char[]
encode
(byte[] bytes) static void
encode
(char[] chars, int charOffset, byte[] source, int offset, int length) static String
encodeString
(byte[] bytes) static byte
toDigit
(char c)
-
Constructor Details
-
Hex
public Hex()
-
-
Method Details
-
decode
-
decode
public static void decode(char[] chars, int charOffset, byte[] dest, int offset, int length) -
decode
-
encodeString
-
encode
public static char[] encode(byte[] bytes) -
encode
public static void encode(char[] chars, int charOffset, byte[] source, int offset, int length) -
toDigit
public static byte toDigit(char c)
-