|
| | OutputMemoryStream (const A &allocator=A()) |
| | Construct OutputMemoryStream using specified allocator instance.
|
| |
| | OutputMemoryStream (const boost::shared_ptr< char[]> &buffer, uint32_t size, uint32_t reserveBlobs=128, const A &allocator=A(), uint32_t minChanningSize=32, uint32_t maxChainLength=(uint32_t) -1) |
| | Construct OutputMemoryStream from the first buffer of the specified size and a preallocated vector to store additional buffers.
|
| |
| | OutputMemoryStream (uint32_t reserveSize, uint32_t reserveBlobs=128, const A &allocator=A(), uint32_t minChanningSize=32, uint32_t maxChainLength=(uint32_t) -1) |
| | Construct OutputMemoryStream with the first buffer of the specified size and a preallocated vector to store additional buffers.
|
| |
| template<typename T> |
| void | GetBuffers (T &buffers) const |
| | Get content of the stream as a collection of memory blobs.
|
| |
| blob | GetBuffer () const |
| | Get content of the stream as one contiguous memory blob.
|
| |
template<typename A = std::allocator<char>>
class bond::OutputMemoryStream< A >
Memory backed output stream.