44 return std::string((
char*)b.
get(), b.
size());
Manages memory a byte buffer, offering dynamic appending. This class is designed for scenarios where ...
Definition buffer.hpp:50
virtual void * get() const noexcept
return a pointer to the managed memory block
Definition buffer.hpp:141
virtual std::size_t size() const noexcept
returns the size of the buffer in bytes
Definition buffer.hpp:112
Contains conversion utilities to transform data between different formats and types....
Definition buffer.hpp:35
std::string to_string(const container::buffer &b)
Creates a std::string from the contents of a container::buffer.
Definition buffer.hpp:42