pierrec / lz4

LZ4 compression and decompression in pure Go
BSD 3-Clause "New" or "Revised" License
878 stars 142 forks source link

do not auto-Close() Writer after ReadFrom()/Copy() #184

Closed lizthegrey closed 2 years ago

lizthegrey commented 2 years ago

ReadFrom()/Copy() should leave it to user whether or not to Close() afterwards rather than shutting down/flushing immediately after the buffer is copied in.

fixes #183

lizthegrey commented 2 years ago

Tests failing because main branch which I forked is failing