ZipDecompressor returns a decompressor that can be registered with zip libraries. See ZipCompressor for example. Options can be specified. WithDecoderConcurrency(1) is forced, and by default a 128MB maximum decompression window is specified. The window size can be overridden if required.
(opts ...DOption)
| 137 | // and by default a 128MB maximum decompression window is specified. |
| 138 | // The window size can be overridden if required. |
| 139 | func ZipDecompressor(opts ...DOption) func(r io.Reader) io.ReadCloser { |
| 140 | return newZipReader(opts...) |
| 141 | } |
searching dependent graphs…