Crypto ++ includes
DEFLATE (RFC 1951) compression / decompression with support for the gzip format (RFC 1952) and zlib (RFC 1950)
but I'm not sure how I could translate this into reading a ZIP file. (I do not mind implementing my own logic for passing ZIP, but, of course, if the library already has a built-in library, I do not want to duplicate it).
If the library does not provide this functionality out of the box, how can I access the zlib and gzip bits (to implement the compression / decompression steps)?
I'm not sure about the latest versions of Crypto ++, but it was something like this before
// write to file Gzip zip(new FileSink (output_filename, true ), Gzip::DEFAULT_DEFLATE_LEVEL); zip.Put(buf, dwBufSize); zip.MessageEnd();
Source: https://habr.com/ru/post/1336658/More articles:Return script content with src attribute - javascriptHow to draw a circle and a hexagon with a turtle module? - pythonXML parsing problems with XSL in it - androidWhy is the difference between int a [5] = {0} and int a [5] = {1} (missing function) - c ++problem with sizeof operator - c ++Generating a pdf file using java - javaAny way to provide Eclipse's automatic error detection feature in Vim / Emacs? - javaAndroid database (SQLite) returns a non-empty cursor from an empty table - androidVisual Studio Add-in for editing a project file (csproj) - c #Hide / Show selection options based on another selection option in jQuery - javascriptAll Articles