Package se.digg.dgc.encoding
Class Base45.Decoder
- java.lang.Object
-
- se.digg.dgc.encoding.Base45.Decoder
-
-
Field Summary
Fields Modifier and Type Field Description static Base45.Decoder
DECODER
Static decoder instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
decode(byte[] src)
Decodes the supplied input (which is the byte array representation of a Base45 string).byte[]
decode(String src)
Decodes the supplied Base45 string.
-
-
-
Field Detail
-
DECODER
public static final Base45.Decoder DECODER
Static decoder instance.
-
-
Method Detail
-
decode
public byte[] decode(byte[] src)
Decodes the supplied input (which is the byte array representation of a Base45 string).- Parameters:
src
- the Base45 string to decode- Returns:
- an allocated byte array
-
decode
public byte[] decode(String src)
Decodes the supplied Base45 string.- Parameters:
src
- the Base45 string to decode- Returns:
- an allocated byte array
-
-