Archive to pack an object to a stream. More...
Public Member Functions | |
buffer_oarchive (void *const buffer) | |
std::size_t | size (void) const noexcept |
Returns the number of bytes used to pack the object. | |
Private Member Functions | |
std::streamsize | xsputn (const char_type *s, std::streamsize n) final |
Writes the given bytes to the buffer. | |
void const * | address (void) const noexcept |
Returns pointer to the buffer. | |
void * | address (void) noexcept |
Returns pointer to the buffer. | |
void | advance (const std::size_t size) noexcept |
Advances the buffer pointer. | |
std::streamsize | written_bytes (void) const noexcept |
Returns how many bytes have been written. | |
Archive to pack an object to a stream.
For more information, visit http://www.boost.org/doc/libs/release/libs/serialization/doc/index.html .