Package com.fizzed.crux.util
Class Base16
- java.lang.Object
-
- com.fizzed.crux.util.Base16
-
public class Base16 extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBase16.Codec
-
Constructor Summary
Constructors Constructor Description Base16()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]decode(java.lang.String b16)static java.lang.Stringencode(byte[] bytes)static java.lang.Stringencode(byte[] bytes, boolean upper)static java.lang.Stringencode(byte[] bytes, boolean upper, int maxLength)static java.lang.Stringencode(byte[] bytes, int maxLength)
-
-
-
Method Detail
-
encode
public static java.lang.String encode(byte[] bytes)
-
encode
public static java.lang.String encode(byte[] bytes, int maxLength)
-
encode
public static java.lang.String encode(byte[] bytes, boolean upper)
-
encode
public static java.lang.String encode(byte[] bytes, boolean upper, int maxLength)
-
decode
public static byte[] decode(java.lang.String b16)
-
-