go/src/bufio
Alan Donovan 891682c825 bufio: suggest io.ReadFull at (*Reader).Read
Many times when using bufio.Reader I imagine, incorrectly, that it
implements the retry loop itself, being a high-level buffered wrapper
around, say, a file descriptor prone to short reads. This comment
would have saved me much time.

Change-Id: I34c790e0d7c1515430a76d02ce4739b586a36ba7
Reviewed-on: https://go-review.googlesource.com/c/145577
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
2018-10-30 13:03:46 +00:00
..
bufio.go bufio: suggest io.ReadFull at (*Reader).Read 2018-10-30 13:03:46 +00:00
bufio_test.go bufio: add Reader.Size and Writer.Size accessors 2017-11-02 17:17:44 +00:00
example_test.go
export_test.go bufio: add Reader.Size and Writer.Size accessors 2017-11-02 17:17:44 +00:00
scan.go bufio: clarify SplitFunc docs for nil token 2018-06-13 21:43:06 +00:00
scan_test.go