PrusaResearch (Vojtech) homebrewed the following:

mz_zip_writer_add_staged_open(), mz_zip_writer_add_staged_data() and mz_zip_writer_add_staged_finish()
were derived from mz_zip_writer_add_read_buf_callback() by splitting it and passing a new
mz_zip_writer_staged_context between them.
This commit is contained in:
Vojtech Bubnik 2021-01-26 12:19:08 +01:00
parent 8009970715
commit 729298c408
3 changed files with 337 additions and 8 deletions

View file

@ -2,6 +2,12 @@ This library is based on miniz 2.1.0 - amalgamated version.
----------------------------------------------------------------
mz_zip_writer_add_staged_open(), mz_zip_writer_add_staged_data() and mz_zip_writer_add_staged_finish()
were derived from mz_zip_writer_add_read_buf_callback() by splitting it and passing a new
mz_zip_writer_staged_context between them.
----------------------------------------------------------------
Merged with https://github.com/richgel999/miniz/pull/147
to support writing a zipped file using a callback without
knowing the size of the file up front.