views:

91

answers:

1

There are lots of Base64 libraries for Java SE but I can't seem to find one for J2ME.

Does any one have a algorithm or library in their coding toolkit?

I receive following from a REST webservice (cut for clearity) :

[137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,1,64,0,0,0,46]

How do I decode the string above?

Thanks!

+1  A: 

Try this code.
Confirm it once.

org.life.java