Menu

Trasfering binary data

Help
Anonymous
2004-07-20
2004-07-29
  • Anonymous

    Anonymous - 2004-07-20

    Does support built-in parser in Toolkit transfering of binary data in XML binary entity ?

    Peter

     
    • Kidong Lee

      Kidong Lee - 2004-07-27

      It's better to encode binary data according to base64. Every SyncML product doesn't support to transfer binary data.

      Base64 encoder/decoder is included in the toolkit.

       
    • Anonymous

      Anonymous - 2004-07-28

      I have tried this but I have problem with receiving data. I use pieces of base64 encoded data with size several kilobytes in <Data>My base64 encoded data</Data>, but in case of receiving function smlLockReadBuffer() returns usedSize only about 980 bytes, so parser can not to find end tag </Data>. and buildPCData() ends with exception. How can I change this behaviour and enlarge parsed data size ?

      Peter

       
    • Anonymous

      Anonymous - 2004-07-29

      Sorry, I has not xptReceiveData() in loop - this was reason - not all data was accepted.

      Regards !
      Peter

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.