CppCMS
|
An immutable buffer - buffer for write operations. More...
#include <booster/booster/aio/buffer.h>
Public Member Functions | |
const_buffer (mutable_buffer const &other) | |
Public Member Functions inherited from booster::aio::buffer_impl< const char * > | |
buffer_impl () | |
std::pair< entry const *, size_t > | get () const |
void | add (const char *p, size_t s) |
bool | empty () const |
size_t | size () const |
size_t | bytes_count () const |
Additional Inherited Members | |
Public Types inherited from booster::aio::buffer_impl< const char * > | |
typedef std::pair< entry const *, size_t > | buffer_data_type |
A pair that defined the chunk. | |
An immutable buffer - buffer for write operations.
|
inline |
Create a const buffer from mutable buffer
References booster::aio::buffer_impl< Pointer >::add(), and booster::aio::buffer_impl< Pointer >::get().