Add streaming compression wrappers that work with io.Writer/io.Reader instead of []byte. NewCompressWriter supports gz, xz, and passthrough (none/"") formats, returning an io.WriteCloser. Unknown formats return an error. Includes nopCloser type for the passthrough case. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| compress.go | ||
| compress_test.go | ||