Class Hex
- java.lang.Object
-
- io.github.waterfallmc.waterfall.utils.Hex
-
public class Hex extends Object
-
-
Constructor Summary
Constructors Constructor Description Hex()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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)
-
-
-
Method Detail
-
decode
public static byte[] decode(CharSequence chars)
-
decode
public static void decode(char[] chars, int charOffset, byte[] dest, int offset, int length)
-
decode
public static void decode(CharSequence chars, int charOffset, byte[] dest, int offset, int length)
-
encodeString
public static String encodeString(byte[] bytes)
-
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)
-
-