A Compressor returns a new compressing writer, writing to w. The WriteCloser's Close method must be used to flush pending data to w. The Compressor itself must be safe to invoke from multiple goroutines simultaneously, but each returned writer will be used only by one goroutine at a time.
func(w io.Writer) (io.WriteCloser, error)
| 18 | // simultaneously, but each returned writer will be used only by |
| 19 | // one goroutine at a time. |
| 20 | type Compressor func(w io.Writer) (io.WriteCloser, error) |
| 21 | |
| 22 | // A Decompressor returns a new decompressing reader, reading from r. |
| 23 | // The [io.ReadCloser]'s Close method must be used to release associated resources. |
no outgoing calls
no test coverage detected
searching dependent graphs…