mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-23 21:09:40 +00:00
Improve zopfli encoder
Write in chunks for CLI compression
This commit is contained in:
@@ -140,7 +140,7 @@ bool chunk_out_stream::write(const void *_in, size_t len) {
|
||||
return true;
|
||||
}
|
||||
|
||||
void chunk_out_stream::close() {
|
||||
void chunk_out_stream::finalize() {
|
||||
if (buf_off) {
|
||||
write_chunk(_buf, buf_off);
|
||||
delete[] _buf;
|
||||
|
Reference in New Issue
Block a user