work sun.misc.BASE64Encoder/Decoder for getting byte[]
I am trying to use sun.misc.BASE64Encoder/Decoder, but this code: <br/> 
<code> (new sun.misc BASE64Encoder()).encode( <br/>new    sun.misc.BASE64Decoder().decodeBuffer("test string XML:"))</code> 

returns "test/string/XML/" 
I am embarrassed
work sun.misc.BASE64Encoder/Decoder for getting byte[]
===

I am trying to use sun.misc.BASE64Encoder/Decoder, but this code: <br/> 
<code> (new sun.misc BASE64Encoder()).encode( <br/>new    sun.misc.BASE64Decoder().decodeBuffer("test string XML:"))</code> 

returns "test/string/XML/" 
I am embarrassed