patchCdEntryToZip64

private fnvoid patchCdEntryToZip64(ref ubyte[] data)

Patch a normal ZIP archive to simulate ZIP64 structures for testing.

Modifies the central directory entry to set compressed/uncompressed sizes to 0xFFFFFFFF and injects a ZIP64 extra field with the original values. Also adds ZIP64 EOCD and locator before the regular EOCD.

Parameters

dataThe archive data to modify in-place.