| 623 | } |
| 624 | |
| 625 | unsigned zlib_stream::crc32_update(unsigned n, const void* buf, size_t dlen) |
| 626 | { |
| 627 | #ifdef HAS_ZLIB |
| 628 | # if defined(ACL_CPP_DLL) || defined(HAS_ZLIB_DLL) |
| 629 | if (__crc32 == NULL) { |
| 630 | logger_warn("__crc32 null, zlib maybe not loaded yet"); |
| 631 | return 0; |
| 632 | } |
| 633 | # endif |
| 634 | #endif |
| 635 | return (unsigned) __crc32(n, (const Bytef*) buf, (unsigned) dlen); |
| 636 | } |
| 637 | |
| 638 | bool zlib_stream::unzip_begin(bool have_zlib_header /* = true */, |
| 639 | int wsize /* = 15 */) |
no outgoing calls
no test coverage detected