GraphLab: Distributed Graph-Parallel API
2.1
|
#include <graphlab/rpc/circular_char_buffer.hpp>
Public Types | |
typedef char | char_type |
Public Member Functions | |
circular_char_buffer_source (circular_char_buffer &buf, size_t maxlen=size_t(-1)) | |
std::streamsize | optimal_buffer_size () const |
std::streamsize | read (char *s, std::streamsize n) |
Public Attributes | |
circular_char_buffer & | buf |
size_t | maxlen |
A boost source device which can attach to a circular buffer
Definition at line 177 of file circular_char_buffer.hpp.
|
inline |
to satisfy the optimally buffered tag. Since this is an in-memory buffer. the optimal buffer size (for any wrapping stream) is 0.
Definition at line 189 of file circular_char_buffer.hpp.