This is a block of data that receives the results of
Empties the contents of the data (without necessarily freeing its allocated memory).
std::size_t get_length(void) const¶
Returns the current length of the buffer. This is the number of useful bytes stored in the buffer, not the amount of memory it takes up.
std::string get_string(void) const¶
Returns the data buffer as a string. Also see get_data().