| 892 | } |
| 893 | |
| 894 | ZipEntryInfo* ZipFile::vopen(std::string_view fileName) |
| 895 | { |
| 896 | auto it = _data->fileList.find(fileName); |
| 897 | if (it != _data->fileList.end()) |
| 898 | return &it->second; |
| 899 | |
| 900 | return nullptr; |
| 901 | } |
| 902 | |
| 903 | int ZipFile::vread(ZipEntryInfo* entry, void* buf, unsigned int size) |
| 904 | { |