An example in the documentation shows how to unzip a file and push the result to another stream.
If you want the output to be directed to an array in memory, you can use a stream like boost::iostreams::stream<boost::iostreams::array_source> .
This is basically a streaming wrapper around an array.
I'm not sure what you mean when you say you want to output in a "file structure".
source share