Get the zip entry uncompressed size. return: zip entry uncompressed size
| 113 | // return: |
| 114 | // zip entry uncompressed size |
| 115 | unsigned int unzipper::getEntrySize() |
| 116 | { |
| 117 | if (entryOpen_) |
| 118 | { |
| 119 | unz_file_info64 oFileInfo; |
| 120 | |
| 121 | int err = unzGetCurrentFileInfo64(zipFile_, &oFileInfo, nullptr, 0, nullptr, 0, nullptr, 0); |
| 122 | |
| 123 | if (err == UNZ_OK) |
| 124 | { |
| 125 | return (unsigned int)oFileInfo.uncompressed_size; |
| 126 | } |
| 127 | } |
| 128 | return 0; |
| 129 | } |
| 130 | |
| 131 | // Private method used to build a list of files and folders. |
| 132 | void unzipper::readEntries() |
nothing calls this directly
no test coverage detected