[Boost.Serialization] Best way to serialize binary data?

Hello I need to serialize some raw binary data. What is the best way to do it for all three archive implementations? I've had troubles with the two text-based ones giving me base64 errors on loading when I use load_binary. Also I noticed that the xml_?archive doesn't produce nice XML when I use save/load_binary. Thanks -- sadrok@gmail.com Yahoo! IM: sadrok_za Jabber ID: sadrok@jabber.obsidian.co.za

use binary object. For all text files including xml - this is rendered as base64 text Robert Ramey sadrok wrote:
Hello
I need to serialize some raw binary data. What is the best way to do it for all three archive implementations? I've had troubles with the two text-based ones giving me base64 errors on loading when I use load_binary. Also I noticed that the xml_?archive doesn't produce nice XML when I use save/load_binary.
Thanks

Ah thanks, I've overlooked that part of the reference.
On 1/13/07, Robert Ramey
use binary object.
For all text files including xml - this is rendered as base64 text
Robert Ramey
sadrok wrote:
Hello
I need to serialize some raw binary data. What is the best way to do it for all three archive implementations? I've had troubles with the two text-based ones giving me base64 errors on loading when I use load_binary. Also I noticed that the xml_?archive doesn't produce nice XML when I use save/load_binary.
Thanks
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- sadrok@gmail.com Yahoo! IM: sadrok_za Jabber ID: sadrok@jabber.obsidian.co.za
participants (2)
-
Robert Ramey
-
sadrok