1
0
mirror of https://github.com/golang/go synced 2024-10-03 22:31:21 -06:00
go/src/compress
Russ Cox 70f2f1b470 compress/gzip: allow stopping at end of first stream
Allows parsing some file formats that assign special
meaning to which stream data is found in.

Will do the same for compress/bzip2 once this is
reviewed and submitted.

Fixes #6486.

LGTM=nigeltao
R=nigeltao, dan.kortschak
CC=adg, bradfitz, golang-codereviews, r
https://golang.org/cl/159120044
2014-10-20 22:03:46 -04:00
..
bzip2 compress/*: note that NewReader may introduce buffering 2014-09-30 12:31:18 -04:00
flate compress/flate: add Reset() to allow reusing large buffers to compress multiple buffers 2014-10-20 12:58:02 +11:00
gzip compress/gzip: allow stopping at end of first stream 2014-10-20 22:03:46 -04:00
lzw compress/*: note that NewReader may introduce buffering 2014-09-30 12:31:18 -04:00
testdata build: move package sources from src/pkg to src 2014-09-08 00:08:51 -04:00
zlib compress/flate: add Reset() to allow reusing large buffers to compress multiple buffers 2014-10-20 12:58:02 +11:00