Skip to content

Conversation

@saracen
Copy link
Contributor

@saracen saracen commented Jun 7, 2020

This adds the zip64 field handling identical to fileWriter.Close.

Without this, it is far easier to create an invalid ZIP file. This provides convenience for when you only want to set the compressed data length and CRC32 fields after using zip.FileInfoHeader, rather than handle multiple fields manually.

Copy link
Owner

@klauspost klauspost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@klauspost
Copy link
Owner

Thanks for the contribution.

@klauspost klauspost merged commit 01fb757 into klauspost:master Jun 7, 2020
@saracen
Copy link
Contributor Author

saracen commented Jun 7, 2020

@klauspost Thank you for implementing the CreateHeaderRaw proposal 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants