| 243 | } |
| 244 | |
| 245 | type ZlibEncoder struct { |
| 246 | writer *zlib.Writer |
| 247 | buf *bytes.Buffer |
| 248 | } |
| 249 | |
| 250 | func NewZlibEncoder(options ...EncodingOption) (*ZlibEncoder, error) { |
| 251 | cfg := encoderConfig{level: zlib.DefaultCompression} |
nothing calls this directly
no outgoing calls
no test coverage detected