• Matthias Vallentin's avatar
    Make (de)serializer streambuffer based · 024f037a
    Matthias Vallentin authored
    First, this change moves the context to the parameter to the end in
    order to make it optional. The context is only necessary when
    serializing messages. Since CAF's serialization framework also serves
    also other application's need, this CAF-specific detail now no longer
    constitutes a mandatory part of the API.
    
    Second, this change switches the binary (de)serializer to a streambuffer
    based API. This enables much more flexible forms of interfacing, e.g.,
    by serializing into/from a file, socket, and more.
    024f037a
streambuf.cpp 4.35 KB