(p []byte)
| 346 | } |
| 347 | |
| 348 | func (wh *writeHook) Write(p []byte) (int, error) { |
| 349 | wh.p = p |
| 350 | return len(p), nil |
| 351 | } |
| 352 | |
| 353 | // bufioWriterBuffer grabs the buffer from a bufio.Writer. |
| 354 | func bufioWriterBuffer(originalWriter io.Writer, bw *bufio.Writer) []byte { |
no outgoing calls
no test coverage detected