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

Method unzip_update

lib_acl_cpp/src/stdlib/zlib_stream.cpp:666–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

664}
665
666bool zlib_stream::unzip_update(const char* in, int len, string* out,
667 zlib_flush_t flag /* = zlib_flush_off */)
668{
669#ifdef HAS_ZLIB
670# if defined(ACL_CPP_DLL) || defined(HAS_ZLIB_DLL)
671 if (__inflate == NULL) {
672 logger_warn("__inflate null, zlib maybe not loaded yet");
673 return false;
674 }
675# endif
676#endif
677 return update(__inflate, flag, in, len, out);
678}
679
680bool zlib_stream::unzip_finish(string* out)
681{

Callers 5

test_zip_streamFunction · 0.80
test_unzip_fileFunction · 0.80
read_response_bodyMethod · 0.80
res_unzip_finishMethod · 0.80
res_unzipMethod · 0.80

Calls 1

updateFunction · 0.50

Tested by 2

test_zip_streamFunction · 0.64
test_unzip_fileFunction · 0.64