Descriptionio: document that Readers and Writers must not retain buffers
There are both many callers and many implementations of these
interfaces, so make the contract explicit. Callers generally
assume this, and at least the standard library and other
implementations obey this, but it's never stated explicitly,
making it somewhat risky to assume.
Patch Set 1 #Patch Set 2 : diff -r 02fc3509db71170e0ddc0d8f24e708cf390a6cce https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 02fc3509db71170e0ddc0d8f24e708cf390a6cce https://go.googlecode.com/hg/ #Patch Set 4 : diff -r 528863ac401ff24391b01bbaf88080e5b85c0534 https://go.googlecode.com/hg/ #MessagesTotal messages: 5
|