ZeroBuf  0.2.0
Zero-copy, zero-serialize, zero-hassle protocol buffers
zerobuf Namespace Reference

Zero-copy, zero-serialize, zero-hassle protocol buffers. More...

Classes

class  Allocator
 Allocator base class and interface. More...
 
class  Vector
 STL-like vector abstraction for dynamic arrays in a zerobuf. More...
 
class  Version
 Information about the current ZeroBuf version. More...
 
class  Zerobuf
 Base class for all Zerobuf serializable objects. More...
 

Typedefs

typedef std::unique_ptr< AllocatorAllocatorPtr
 
typedef std::unique_ptr< const AllocatorConstAllocatorPtr
 
typedef uint8_t byte_t
 alias type for base64 encoded fields
 
typedef servus::Serializable::Data Data
 

Functions

template<class T >
std::ostream & operator<< (std::ostream &os, const Vector< T > &vector)
 
std::ostream & operator<< (std::ostream &os, const Zerobuf &zerobuf)
 

Detailed Description

Zero-copy, zero-serialize, zero-hassle protocol buffers.

Zerobuf uses a schema language (currently FlatBuffers .fbs) generating C++ classes which provide direct get and set access on the defined data members; a single, in-memory buffer storing all data members, which is directly serializable; Easy to use, random access to the the data members; and zero copy of the data used by the (C++) implementation from and to the network.