StreamWriter must write data to w. Usually StreamWriter writes data to w in a loop (aka 'data streaming'). StreamWriter must return immediately if w returns error. Since the written data is buffered, do not forget calling w.Flush when the data must be propagated to reader.
func(w *bufio.Writer)
| 17 | // Since the written data is buffered, do not forget calling w.Flush |
| 18 | // when the data must be propagated to reader. |
| 19 | type StreamWriter func(w *bufio.Writer) |
| 20 | |
| 21 | // NewStreamReader returns a reader, which replays all the data generated by sw. |
| 22 | // |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…