I am reading chunk of bytes from file, Encode it Base64 and generating an xml response using SyExpat. Eg, <response>-----file data---</response> and sending via bluetooth to PC. This works fine for reading *.txt , *.jpg, *.exe , *.sis files. Here xml response gets generate.
But when I read data from an mp3 file and generate an xml response, response does not create properly, it gives some garbage data. <response></response> is not been seen.
Is there any problem with syexpat CharacterL or WriteL.
Please do try, let me know if any solution is there.
Thanks & Regards,