(p []byte)
| 4 | type WriterFunc func(p []byte) (int, error) |
| 5 | |
| 6 | func (f WriterFunc) Write(p []byte) (int, error) { |
| 7 | return f(p) |
| 8 | } |
| 9 | |
| 10 | // ReaderFunc is used to implement one off io.Readers. |
| 11 | type ReaderFunc func(p []byte) (int, error) |
no outgoing calls
no test coverage detected