Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2007-10-16 13:36:32


investigate which kind of stream buffer stringstream is using.

Re-use that buffer in creating a new archive.

Robert Ramey

  "Rich Peters" <rpeters_at_[hidden]> wrote in message news:99f885c90710160909q3928a9fet4e48ba8e1eda2e7e_at_mail.gmail.com...
  I saw an example where boost serialized a text archive to a strstream for sending via a socket. I would like to do something similar, but for binary data.

  Is there a way to do the binary serialization to a memory buffer, and then send it elsewhere? It doesnt seem like strstream and boost::archive::binary_oarchive would mix correctly.
  I have also seen some discussion regarding a binary_iostreams library, but its doesnt look like that exists yet.

  thanks
  Rich

------------------------------------------------------------------------------

  _______________________________________________
  Boost-users mailing list
  Boost-users_at_[hidden]
  http://lists.boost.org/mailman/listinfo.cgi/boost-users



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net