Writer is an interface stackless writer must conform to. The interface contains common subset for Writers from compress/* packages.
| 13 | // |
| 14 | // The interface contains common subset for Writers from compress/* packages. |
| 15 | type Writer interface { |
| 16 | Write(p []byte) (int, error) |
| 17 | Flush() error |
| 18 | Close() error |
| 19 | Reset(w io.Writer) |
| 20 | } |
| 21 | |
| 22 | // NewWriterFunc must return new writer that will be wrapped into |
| 23 | // stackless writer. |
no outgoing calls
no test coverage detected
searching dependent graphs…