|
-
December 1st, 2011, 09:38 PM
#5
Re: Using Boost for reading zip files
 Originally Posted by Learned
So, you mean boost is not suitable in reading .zip files?
It is "suitable". The question is do you have a zip decompressor class that is compatible with the boost iostreams library?
Look at your code -- what makes it uncompress gzip files? Is it the boost::iostreams itself, or is it that gzip_decompressor()? It is the latter, and it's that plug-in that needs to be written or found somewhere. The boost::iostreams library is based on sources and sinks. In this case, the "source" would be a zipped file, and the "sink" is the uncompressed file.
So nothing stops boost::iostreams from decompressing zip files -- the issue is that do you have the "plug-in" to do it, if not, can you write one based on the "source" and "sink" paradigm?
Regards,
Paul McKenzie
Last edited by Paul McKenzie; December 1st, 2011 at 10:00 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|