Decompress reads data from r, decompresses it, and provides the uncompressed data via the returned io.Reader. If an error occurs while initializing the decompressor, that error is returned instead. The returned io.Reader may optionally implement io.ReadCloser, and if it does, gRPC will call Close(
(r io.Reader)
| 70 | // The returned io.Reader may optionally implement io.ReadCloser, and if it |
| 71 | // does, gRPC will call Close() exactly once. |
| 72 | Decompress(r io.Reader) (io.Reader, error) |
| 73 | // Name is the name of the compression codec and is used to set the content |
| 74 | // coding header. The result must be static; the result cannot change |
| 75 | // between calls. |