What exactly is streambuf? How do I use it?

With the help of streambuf, we can work in an even lower level. It allows access to the underlying buffers.

Here are some good examples : Copy, load, redirect and tee using C++ streambufs and in reference to comparison, This might be helpful,

enter image description here

See this for more details : IOstream Library

Leave a Comment