async_mqtt 5.0.0
|
N bytes_property. More...
#include <property.hpp>
Inherits boost::totally_ordered< n_bytes_property< N > >.
Public Member Functions | |
std::vector< as::const_buffer > | const_buffer_sequence () const |
Add const buffer sequence into the given buffer. | |
property::id | id () const |
Get property::id. | |
std::size_t | size () const |
Get property size. | |
Static Public Member Functions | |
static constexpr std::size_t | num_of_const_buffer_sequence () |
Get number of element of const_buffer_sequence. | |
N bytes_property.
N is 1,2, or 4 in property usecases But this class template can accept any N.
|
inline |
Add const buffer sequence into the given buffer.
|
inline |
Get property::id.
|
inlinestaticconstexpr |
Get number of element of const_buffer_sequence.
|
inline |
Get property size.