• Post Reply Bookmark Topic Watch Topic
  • New Topic

Conversion of base64 encoded string to byte array

 
Naveen Morrise
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to test image which is available in base64 encoded string.
I need to decode into byte array.

If any once can help me out in this then it would be great.

Hope will get some response ASAP and thanks in advance...

Naveen
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this topic is a bit advanced for the beginners forum, so I'm promoting it to the intermediate forum.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15767
74
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The open source Apache Jakarta Commons Codec library contains a Base64 encoder and decoder which you could use.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!