char* str();
Return Value
Returns a pointer to the object’s internal character array. If the strstreambuf object was constructed with a user-supplied buffer, that buffer address is returned. If the object has a dynamic array, str freezes the array. You must not send characters to a frozen strstreambuf object, and you are responsible for deleting the array. If a dynamic array is empty, then str returns NULL.
Use the freeze function with a 0 parameter to unfreeze a strstreambuf object.
strstreambuf Overview | Stream Buffer Classes
See Also strstreambuf::freeze