NewBufferedReader creates a BufferedReader that calls onDone with the.
func NewBufferedReader(src io.ReadCloser, onDone func(io.Reader) ) *BufferedReaderNewBufferedReader creates a BufferedReader that calls onDone with the buffered content when the source reaches EOF or is closed.
| Name | Type | Description |
|---|---|---|
src* | io.ReadCloser | |
onDone* | func(io.Reader |