public class Base64Encoder
extends java.lang.Object
Despite there being a gazillion other Base64 implementations out there, this has been written as part of XStream as it forms a core part but is too trivial to warrant an extra dependency.
This meets the standard as described in RFC 1521, section 5.2 <http://www.freesoft.org/CIE/RFC/1521/7.htm>, allowing other Base64 tools to manipulate the data.
Original code from XStreamConstructor and Description |
---|
Base64Encoder() |
Modifier and Type | Method and Description |
---|---|
byte[] |
decode(java.lang.String input) |
java.lang.String |
encode(byte[] input) |