public class Base64Codec extends Object
This class implements Base64 encoding
Thanks to Apache Commons project. This class refactored from org.apache.commons.codec.binary Original Thanks to "commons" project in ws.apache.org for this code. http://svn.apache.org/repos/asf/webservices/commons/trunk/modules/util/Constructor and Description |
---|
Base64Codec() |
public byte[] decode(String s)
s
- the Base64 string (not null)public String encode(byte[] in)
in
- the byte array (not null)