#includeIn the above example, we have created an array buffer of size 1024 and used the `OutBuffer` write string function to write the string "Hello World" to a filtering output stream. Package library - BOOST library.#include #include #include #include #include #include #include #include #include using namespace boost::iostreams; int main(int argc, char* argv[]) { char buf[1024]; array_sink arr_sink(buf); filtering_ostream outstream; outstream.push(arr_sink); outstream << "Hello World" << std::endl; outstream.pop(); return 0; }