byte[] to base64binary mapping. How to??

F

Francesco Merlo

I am an italian student.
So be patient with my imperfect english!

I need to send a XML message with the contents of one or more files. My java
object uses a byte[] array to keep those contents, but when i have to build
the XML i am in trouble when mapping that array to the base64binary standard
datatype.
I have to keep my java object on a PDA, so i cant use specific frameworks,
and i have to build the XML code using a method toXML() that returns a
string with the valid formatted code.

Thanx in advance.

Francesco Merlo
 
L

Luke Tulkas

Francesco Merlo said:
I am an italian student.
So be patient with my imperfect english!

I need to send a XML message with the contents of one or more files. My java
object uses a byte[] array to keep those contents, but when i have to build
the XML i am in trouble when mapping that array to the base64binary standard
datatype.
I have to keep my java object on a PDA, so i cant use specific frameworks,
and i have to build the XML code using a method toXML() that returns a
string with the valid formatted code.

Roedy can help you with that: http://mindprod.com/products.html#BASE64
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top