A simple helper class used to manage a fixed-size payload content buffer.
More...
#include <staticlib/pion/http_message.hpp>
Detailed Description
A simple helper class used to manage a fixed-size payload content buffer.
Constructor & Destructor Documentation
| staticlib::pion::http_message::content_buffer_t::~content_buffer_t |
( |
| ) |
|
|
inline |
| staticlib::pion::http_message::content_buffer_t::content_buffer_t |
( |
| ) |
|
|
inline |
| staticlib::pion::http_message::content_buffer_t::content_buffer_t |
( |
const content_buffer_t & |
buf | ) |
|
|
inline |
Member Function Documentation
| void staticlib::pion::http_message::content_buffer_t::clear |
( |
| ) |
|
|
inline |
Clears the content buffer.
| const char* staticlib::pion::http_message::content_buffer_t::get |
( |
| ) |
const |
|
inline |
Returns const pointer to data.
| char* staticlib::pion::http_message::content_buffer_t::get |
( |
| ) |
|
|
inline |
Returns mutable pointer to data.
| bool staticlib::pion::http_message::content_buffer_t::is_empty |
( |
| ) |
const |
|
inline |
Returns true if buffer is empty.
| void staticlib::pion::http_message::content_buffer_t::resize |
( |
std::size_t |
len | ) |
|
|
inline |
Changes the size of the content buffer.
| std::size_t staticlib::pion::http_message::content_buffer_t::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: