RESTinio
|
Buffer entity for const buffer. More...
#include <buffers.hpp>
Private Attributes | |
const void *const | m_data |
A pointer to data. | |
const std::size_t | m_size |
The size of data. | |
Buffer entity for const buffer.
Definition at line 130 of file buffers.hpp.
|
delete |
|
inlineconstexprnoexcept |
Definition at line 135 of file buffers.hpp.
|
delete |
|
default |
|
inlineoverridevirtual |
Get asio buf entity.
Prepares an item for being used with ASIO API.
Implements restinio::impl::buf_iface_t.
Definition at line 152 of file buffers.hpp.
|
delete |
|
delete |
Move this buffer enitity to a given location.
Implements restinio::impl::writable_base_t.
Definition at line 157 of file buffers.hpp.
|
inlineoverridevirtual |
Get the size of a writable piece of data.
Implements restinio::impl::writable_base_t.
Definition at line 169 of file buffers.hpp.
A pointer to data.
Definition at line 174 of file buffers.hpp.
|
private |
The size of data.
Definition at line 176 of file buffers.hpp.