Categorygithub.com/kdungs/zip
modulepackage
0.0.0-20201102105150-f64161d39db4
Repository: https://github.com/kdungs/zip.git
Documentation: pkg.go.dev

# README

Go archive/zip plus encryption support

GoDoc Go Report Card

This is a fork of the archive/zip package from the Go standard library which adds support for both the legacy (insecure) ZIP encryption scheme and for newer AES-based encryption schemes introduced with WinZip. It is based on Go 1.14.

This is based on work by Alex Mullins and Yakub Kristianto. The forward-port was done to introduce bugfixes and enhancements, such as missing support for large (>= 4GB) ZIP files like those distributed by VirusShare.

# Functions

FileInfoHeader creates a partially-populated FileHeader from an os.FileInfo.
NewReader returns a new Reader reading from r, which is assumed to have the given size in bytes.
NewWriter returns a new Writer writing a zip file to w.
No description provided by the author
OpenReader will open the Zip file specified by name and return a ReadCloser.
RegisterCompressor registers custom compressors for a specified method ID.
RegisterDecompressor allows custom decompressors for a specified method ID.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
DEFLATE compressed.
No description provided by the author
no compression.

# Variables

No description provided by the author
Encryption/Decryption Errors.
No description provided by the author
Encryption/Decryption Errors.
No description provided by the author
Encryption/Decryption Errors.

# Structs

No description provided by the author
FileHeader describes a file within a zip file.
No description provided by the author
No description provided by the author
Writer implements a zip file writer.
No description provided by the author

# Type aliases

A Compressor returns a new compressing writer, writing to w.
A Decompressor returns a new decompressing reader, reading from r.
No description provided by the author