I want to read a zip file into a char* variable. How can I achieve this?
The background to why into a char* variable is because I want to serve the char* representation of the zip file to a client over a HTTP request with Content-Type: application/zip or Content-Type: application/octet-stream.
The following file can be used as example: https://getsamplefiles.com/download/zip/sample-1.zip
Thanks!
1