| 442 | } |
| 443 | |
| 444 | int32_t OpenArchiveFromMemory(void* address, size_t length, const char* debug_file_name, |
| 445 | ZipArchiveHandle* handle) { |
| 446 | ZipArchive* archive = new ZipArchive(address, length); |
| 447 | *handle = archive; |
| 448 | return OpenArchiveInternal(archive, debug_file_name); |
| 449 | } |
| 450 | |
| 451 | /* |
| 452 | * Close a ZipArchive, closing the file and freeing the contents. |
no test coverage detected