I am trying to use sun.misc.BASE64Encoder/Decoder, but this code:
(new sun.misc BASE64Encoder()).encode(new
sun.misc.BASE64Decoder().decodeBuffer("test string XML:"))
returns "test/string/XML/" I am embarrassed
See Question&Answers more detail:os