ZipWriter.writeEndOfCentralDirectory
private
void writeEndOfCentralDirectory(ulong cdOffset, ulong cdSize,
bool zip64)Write the regular End of Central Directory record.
When zip64 is true, entry counts and offsets are written with sentinel values (0xFFFF / 0xFFFFFFFF) pointing readers to the ZIP64 structures.
Parameters
cdOffset | Byte offset of the central directory. |
cdSize | Total size of the central directory in bytes. |
zip64 | Whether ZIP64 EOCD was also written. |