DIY  3.0
data-parallel out-of-core C++ library
 All Classes Namespaces Functions Typedefs Groups Pages
Public Member Functions | List of all members
diy::BinaryBuffer Struct Referenceabstract

A serialization buffer. More...

#include <diy/serialization.hpp>

Inheritance diagram for diy::BinaryBuffer:
diy::MemoryBuffer

Public Member Functions

virtual void save_binary (const char *x, size_t count)=0
 copy count bytes from x into the buffer
 
virtual void load_binary (char *x, size_t count)=0
 copy count bytes into x from the buffer
 
virtual void load_binary_back (char *x, size_t count)=0
 copy count bytes into x from the back of the buffer
 

Detailed Description

A serialization buffer.

Examples:
reduce/all-done.cpp, reduce/kd-tree.cpp, reduce/merge-reduce.cpp, simple/block.h, and simple/until-done.cpp.

The documentation for this struct was generated from the following file: