MCPcopy Create free account
hub / github.com/acl-dev/acl / zip_update

Method zip_update

lib_acl_cpp/src/stdlib/zlib_stream.cpp:575–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573}
574
575bool zlib_stream::zip_update(const char* in, int len, string* out,
576 zlib_flush_t flag /* = zlib_flush_off */)
577{
578#ifdef HAS_ZLIB
579# if defined(ACL_CPP_DLL) || defined(HAS_ZLIB_DLL)
580 if (__deflate == NULL) {
581 logger_warn("__deflate null, zlib maybe not loaded yet");
582 return false;
583 }
584# endif
585#endif
586 return update(__deflate, flag, in, len, out);
587}
588
589bool zlib_stream::zip_finish(string* out)
590{

Callers 2

test_zip_streamFunction · 0.80
write_gzipMethod · 0.80

Calls 1

updateFunction · 0.50

Tested by 1

test_zip_streamFunction · 0.64