diff options
Diffstat (limited to 'src/compress/lzw/reader.go')
| -rw-r--r-- | src/compress/lzw/reader.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compress/lzw/reader.go b/src/compress/lzw/reader.go index cd90c9c63a..0835bd8b90 100644 --- a/src/compress/lzw/reader.go +++ b/src/compress/lzw/reader.go @@ -222,6 +222,8 @@ func (d *decoder) Close() error { // NewReader creates a new io.ReadCloser. // Reads from the returned io.ReadCloser read and decompress data from r. +// If r does not also implement io.ByteReader, +// the decompressor may read more data than necessary from r. // It is the caller's responsibility to call Close on the ReadCloser when // finished reading. // The number of bits to use for literal codes, litWidth, must be in the |
