Input string from ostream buffer

160 views Asked by At

I have a function that I do not have control on, it prints stream output only to ostream buffer.

Packet::PrintPacketTags (std::ostream &os);

How can I get what is in the os buffer and handle it as a string?

0

There are 0 answers