Thread: Byte Array
View Single Post
  #9 (permalink)  
Old 08-29-2008, 02:28 PM
ProjectKaiser's Avatar
ProjectKaiser ProjectKaiser is offline
Member
 
Join Date: Aug 2008
Location: Saint-Petersburg, Russia
Posts: 47
ProjectKaiser is on a distinguished road
I agree that going though String is potentially dangerous, but...There is no Base64 encoder/decoder in the standard Java SDK class library !

There is Sun specific sun.misc.BASE64Encoder, but it is undocumented and generally can not be used.

You can use things like this:
Base64: Public Domain Base64 Encoder/Decoder

Last edited by ProjectKaiser : 08-29-2008 at 04:59 PM.
Reply With Quote