25 #ifndef INCLUDED_StringBufferBuilder_h_GUID_D531C5F4_AC8D_4E9D_9682_A38DCBC7DC8C 
   26 #define INCLUDED_StringBufferBuilder_h_GUID_D531C5F4_AC8D_4E9D_9682_A38DCBC7DC8C 
   51             m_buffer.resize(n + 1, 
'\0');
 
   52             return m_buffer.data();
 
   62             if (m_buffer.empty()) {
 
   68             while (!m_buffer.empty() && m_buffer[m_buffer.size() - 1] == 
'\0') {
 
   72             if (m_buffer.empty()) {
 
   75             ret.assign(m_buffer.begin(), m_buffer.end());
 
   80         typedef std::vector<char> container;
 
   85 #endif // INCLUDED_StringBufferBuilder_h_GUID_D531C5F4_AC8D_4E9D_9682_A38DCBC7DC8C 
std::string str()
Converts the buffer into a string. 
A utility class to adapt APIs that first provide a length, then place a string in a user-allocated bu...
char * getBufferOfSize(std::size_t n)
Allocates a buffer of size n, to include the null terminator, and returns a pointer into it...