ContentEncoder applies a wrapper encoding to byte buffers.
| 163 | |
| 164 | // ContentEncoder applies a wrapper encoding to byte buffers. |
| 165 | type ContentEncoder interface { |
| 166 | Encode([]byte) ([]byte, error) |
| 167 | } |
| 168 | |
| 169 | // GzipEncoder compresses the buffer using gzip at the default level. |
| 170 | type GzipEncoder struct { |
no outgoing calls
no test coverage detected
searching dependent graphs…