Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2018. The current version is 1.89.0.
A pointer to a contiguous area of memory
of http::buffer_body::value_type::size octets, else nullptr.
void * data = nullptr;
If this is nullptr and more is true,
the error http::need_buffer will be returned from
http::serializer::get Otherwise, the serializer
will use the memory pointed to by data
having size octets of valid
storage as the next buffer representing the body.
If this is nullptr, the error
http::need_buffer
will be returned from http::basic_parser::put. Otherwise, the parser will
store body octets into the memory pointed to by data
having size octets of valid
storage. After octets are stored, the data
and size members are adjusted:
data is incremented to
point to the next octet after the data written, while size
is decremented to reflect the remaining space at the memory location pointed
to by data.