• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Suggest uses of this concept.

 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have written a api for creating a xml from binary data and then again convert this xml to binary file.
Example :

I have a JPG.
Using the program I create a xml in the following format.

<?xml ..?>

<xmlData>
<fileName>sample.jpg</fileName>
<binData> <!-- base 64 encoded data from the --></binData>
</xmlData>


then again we can get back the data ..this is not good for wire transfer of binary...can you give ideas as where else this can be used..or where this is used..
i found this very interesting..using some tag we can even specify the kind of data that the base64 encoded string is representing..
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic